diff options
author | ctrlaltca@gmail.com <> | 2011-05-25 09:34:54 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-05-25 09:34:54 +0000 |
commit | 15be96d7736550fbf097bb4dd3d4c971ef1f5cc1 (patch) | |
tree | 0ae9feb919e2303d2d034c08bce057540fe6b689 /buildscripts/PhpDocumentor/phpDocumentor/Io.inc | |
parent | 8aa27c48cd1b620e3a7dee1e2de2cdc67f4e9874 (diff) |
backported build script fixes to branch/3.1
Diffstat (limited to 'buildscripts/PhpDocumentor/phpDocumentor/Io.inc')
-rw-r--r-- | buildscripts/PhpDocumentor/phpDocumentor/Io.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Io.inc b/buildscripts/PhpDocumentor/phpDocumentor/Io.inc index 0425096d..dac36bec 100644 --- a/buildscripts/PhpDocumentor/phpDocumentor/Io.inc +++ b/buildscripts/PhpDocumentor/phpDocumentor/Io.inc @@ -361,8 +361,9 @@ class Io {
if (dirname($path) != $masterPath)
{
- $mp = split(PATH_DELIMITER,$masterPath);
- $np = split(PATH_DELIMITER,str_replace('\\','/',dirname($path)));
+ $mp = explode(PATH_DELIMITER, $masterPath);
+ $np = explode(PATH_DELIMITER, str_replace('\\', '/', dirname($path)));
+
if (count($np) < count($mp))
{
$masterPath = join($np, PATH_DELIMITER);
|