From 4af10e0fb64ac26b9c31663d1dd8c8270939cb15 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sat, 27 Sep 2014 22:36:03 -0400 Subject: [PATCH] Cleaning up a bit The plan is to drop this file entirely and move the logic off to the config class itself which will be instantiated by the router. --- src/pickles.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/pickles.php b/src/pickles.php index 2fb1e66..e028bcf 100644 --- a/src/pickles.php +++ b/src/pickles.php @@ -30,16 +30,6 @@ if (!defined('SITE_PATH')) define('SITE_PATH', getcwd() . '/../'); } -if (!defined('SITE_CLASS_PATH')) -{ - define('SITE_CLASS_PATH', SITE_PATH . 'classes/'); - define('SITE_MODEL_PATH', SITE_PATH . 'models/'); - define('SITE_RESOURCE_PATH', SITE_PATH . 'resources/'); - - define('PRIVATE_PATH', SITE_PATH . 'private/'); - define('LOG_PATH', PRIVATE_PATH . 'logs/'); -} - // }}} // {{{ Defaults some important configuration options @@ -68,9 +58,6 @@ ini_set('session.hash_function', 1); // Loads the base config $config = Pickles\Config::getInstance(); -// Injects PICKLES variables into the config -$config->data['pickles']['path'] = dirname(__FILE__) . '/'; - // Configures any available PHP configuration options if (is_array($config->php) && count($config->php)) {