From 8d73650be25b89d593fb1bfcb254867dfee2c9ef Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Fri, 26 Jul 2002 10:32:01 +0000 Subject: [PATCH] Use DIRECTORY_SEPARATOR instead of hardcoded '/' --- pear/PEAR/Config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.50.1