diff --git a/classes/phing/Phing.php b/classes/phing/Phing.php index f59ec05dd4..ab59dd29cb 100644 --- a/classes/phing/Phing.php +++ b/classes/phing/Phing.php @@ -1524,7 +1524,9 @@ private static function setSystemConstants() } else { self::setProperty(self::PHP_INTERPRETER, getenv('PHP_COMMAND')); } + self::setProperty('file.separator', PhingFile::$separator); self::setProperty('line.separator', PHP_EOL); + self::setProperty('path.separator', PhingFile::$pathSeparator); self::setProperty(self::PHP_VERSION, PHP_VERSION); self::setProperty('php.tmpdir', sys_get_temp_dir()); if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {