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.
This commit is contained in:
parent
79f8da8c45
commit
4af10e0fb6
1 changed files with 0 additions and 13 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue