mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
Use DIRECTORY_SEPARATOR instead of hardcoded '/'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user