From 7cbca147ccca8f7c2c63a176d3d1ecad6e6dd3bb Mon Sep 17 00:00:00 2001 From: Lee Wei Zhang Date: Mon, 26 Oct 2020 19:52:40 +0800 Subject: [PATCH] Replace slash with PHP constant Signed-off-by: Lee Wei Zhang --- libraries/vendor_config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/vendor_config.php b/libraries/vendor_config.php index 665e619eb7..5855b97a0d 100644 --- a/libraries/vendor_config.php +++ b/libraries/vendor_config.php @@ -24,7 +24,7 @@ define('AUTOLOAD_FILE', ROOT_PATH . 'vendor/autoload.php'); /** * Directory where cache files are stored. */ -define('TEMP_DIR', ROOT_PATH . 'tmp/'); +define('TEMP_DIR', ROOT_PATH . 'tmp' . DIRECTORY_SEPARATOR); /** * Path to changelog file, can be gzip compressed. Useful when you want to @@ -41,7 +41,7 @@ define('LICENSE_FILE', ROOT_PATH . 'LICENSE'); /** * Directory where SQL scripts to create/upgrade configuration storage reside. */ -define('SQL_DIR', ROOT_PATH . 'sql/'); +define('SQL_DIR', ROOT_PATH . 'sql' . DIRECTORY_SEPARATOR); /** * Directory where configuration files are stored. @@ -73,9 +73,9 @@ define('VERSION_CHECK_DEFAULT', true); /** * Path to files with compiled locales (*.mo) */ -define('LOCALE_PATH', ROOT_PATH . 'locale/'); +define('LOCALE_PATH', ROOT_PATH . 'locale' . DIRECTORY_SEPARATOR); /** * Define the cache directory for routing cache an other cache files */ -define('CACHE_DIR', ROOT_PATH . 'libraries/cache/'); +define('CACHE_DIR', ROOT_PATH . 'libraries/cache' . DIRECTORY_SEPARATOR);