From: Tomas V.V.Cox Date: Fri, 26 Jul 2002 10:32:01 +0000 (+0000) Subject: Use DIRECTORY_SEPARATOR instead of hardcoded '/' X-Git-Tag: dev~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d73650be25b89d593fb1bfcb254867dfee2c9ef;p=php Use DIRECTORY_SEPARATOR instead of hardcoded '/' --- diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php index b039a0acd0..5158144d2d 100644 --- a/pear/PEAR/Config.php +++ b/pear/PEAR/Config.php @@ -51,7 +51,8 @@ define('PEAR_CONFIG_DEFAULT_DATADIR', define('PEAR_CONFIG_DEFAULT_TESTDIR', PEAR_INSTALL_DIR.DIRECTORY_SEPARATOR.'tests'); -define('PEAR_CONFIG_DEFAULT_CACHEDIR', (System::tmpdir()).'/pear/cache'); +define('PEAR_CONFIG_DEFAULT_CACHEDIR', + System::tmpdir() . DIRECTORY_SEPARATOR . 'pear' . DIRECTORY_SEPARATOR . 'cache'); if (@is_dir(PHP_SYSCONFDIR)) { define('PEAR_CONFIG_SYSCONFDIR', PHP_SYSCONFDIR);