From 82d7fe8a7bac5c687d754619f7f76c69f7cd5173 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 21 Dec 2014 13:24:34 +0530 Subject: [PATCH] Define constant DS in core package if not available. --- src/Core/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Core/functions.php b/src/Core/functions.php index 9b2cb7f7857..7500429dcfa 100644 --- a/src/Core/functions.php +++ b/src/Core/functions.php @@ -14,6 +14,13 @@ */ use Cake\Core\Configure; +if (!defined('DS')) { + /** + * Define DS as short form of DIRECTORY_SEPARATOR. + */ + define('DS', DIRECTORY_SEPARATOR); +} + if (!function_exists('h')) { /**