Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dwoo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
Dwoo
Commits
f49e8f36
Commit
f49e8f36
authored
Sep 14, 2008
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a 1.0.0beta regression that messed with custom plugin directories on Windows
git-svn-id:
svn://dwoo.org/dwoo/trunk@180
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
39e2cef8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
CHANGELOG
CHANGELOG
+5
-0
Loader.php
lib/Dwoo/Loader.php
+1
-1
No files found.
CHANGELOG
View file @
f49e8f36
[
2008
--]
1.0.0
*
Lines
containing
only
comments
and
whitespace
are
now
entirely
removed
*
Adapters
:
Zend
:
Added
parameters
to
provide
a
custom
engine
(
extends
Dwoo
)
or
a
custom
data
class
(
extends
Dwoo_Data
)
-
thanks
to
Maxime
M
é
rian
for
the
patch
*
Fixed
a
1.0.0
beta
regression
that
messed
with
custom
plugin
directories
on
Windows
[
2008
-
09
-
08
]
1.0.0
beta
! Important note : Dwoo.php should not be included directly anymore, please
...
...
lib/Dwoo/Loader.php
View file @
f49e8f36
...
...
@@ -139,7 +139,7 @@ class Dwoo_Loader implements Dwoo_ILoader
if
(
!
$pluginDir
)
{
throw
new
Dwoo_Exception
(
'Plugin directory does not exist or can not be read : '
.
$pluginDirectory
);
}
$cacheFile
=
$this
->
cacheDir
.
'classpath-'
.
substr
(
strtr
(
$pluginDir
,
'/\\
'
,
'
--'
),
strlen
(
$pluginDir
)
>
80
?
-
80
:
0
)
.
'.d'
.
Dwoo
::
RELEASE_TAG
.
'.php'
;
$cacheFile
=
$this
->
cacheDir
.
'classpath-'
.
substr
(
strtr
(
$pluginDir
,
'/\\
:'
.
PATH_SEPARATOR
,
'--
--'
),
strlen
(
$pluginDir
)
>
80
?
-
80
:
0
)
.
'.d'
.
Dwoo
::
RELEASE_TAG
.
'.php'
;
$this
->
paths
[
$pluginDir
]
=
$cacheFile
;
$foo
=
@
file_get_contents
(
$cacheFile
);
if
(
$foo
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment