diff options
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);
|