From 652aa450c92283adc49c16b4d11cd3ec634af7fe Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 15 May 2018 14:25:40 +0300 Subject: [PATCH] define CONSTANTS in PHP7 style --- flextype/boot/defines.php | 40 --------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 flextype/boot/defines.php diff --git a/flextype/boot/defines.php b/flextype/boot/defines.php deleted file mode 100755 index 3c8a1bec..00000000 --- a/flextype/boot/defines.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @link http://flextype.org - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Flextype; - -// Define the path to the root directory (without trailing slash). -define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); - -// Define the path to the site directory (without trailing slash). -define('SITE_PATH', ROOT_DIR . '/site'); - -// Define the path to the pages directory (without trailing slash). -define('PAGES_PATH', SITE_PATH . '/pages'); - -// Define the path to the themes directory (without trailing slash). -define('THEMES_PATH', SITE_PATH . '/themes'); - -// Define the path to the plugins directory (without trailing slash). -define('PLUGINS_PATH', SITE_PATH . '/plugins'); - -// Define the path to the config directory (without trailing slash). -define('CONFIG_PATH', SITE_PATH . '/config'); - -// Define the path to the cache directory (without trailing slash). -define('CACHE_PATH', SITE_PATH . '/cache'); - -// Define the path to the logs directory (without trailing slash). -define('LOGS_PATH', SITE_PATH . '/logs'); - -// Define the path to the logs directory (without trailing slash). -define('ACCOUNTS_PATH', SITE_PATH . '/accounts');