Skip to content

Commit

Permalink
Define constant DS in core package if not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 21, 2014
1 parent b9af093 commit 82d7fe8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Core/functions.php
Expand Up @@ -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')) {

/**
Expand Down

0 comments on commit 82d7fe8

Please sign in to comment.