summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Io.inc
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-25 09:34:54 +0000
committerctrlaltca@gmail.com <>2011-05-25 09:34:54 +0000
commit15be96d7736550fbf097bb4dd3d4c971ef1f5cc1 (patch)
tree0ae9feb919e2303d2d034c08bce057540fe6b689 /buildscripts/PhpDocumentor/phpDocumentor/Io.inc
parent8aa27c48cd1b620e3a7dee1e2de2cdc67f4e9874 (diff)
backported build script fixes to branch/3.1
Diffstat (limited to 'buildscripts/PhpDocumentor/phpDocumentor/Io.inc')
-rw-r--r--buildscripts/PhpDocumentor/phpDocumentor/Io.inc5
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);