summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Io.inc
diff options
context:
space:
mode:
authorrojaro <>2009-10-03 00:11:50 +0000
committerrojaro <>2009-10-03 00:11:50 +0000
commit6d02d935df4b8c6525a00670d54f37a9de0a87e0 (patch)
treec5fdc48fc01e267d1d7b24c29424780c25f309d5 /buildscripts/PhpDocumentor/phpDocumentor/Io.inc
parent840718fadba6645f5eb8fe038eecd084d715a581 (diff)
php 5.3 compatibility fixes
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);