diff options
author | Evan O'Connell <oconn.e@gmail.com> | 2013-08-18 18:29:07 -0400 |
---|---|---|
committer | Evan O'Connell <oconn.e@gmail.com> | 2013-08-18 18:29:07 -0400 |
commit | f472c60b18469ff8a06963708174dea1bfc08015 (patch) | |
tree | 77c886ff7a2b38e4c4297935ad46e4b7c8f19e6c /include/classes.php | |
parent | e7dab48469ac779d639fff7e221c7b5a23ded148 (diff) | |
download | bayonetcms-f472c60b18469ff8a06963708174dea1bfc08015.tar.gz |
Adds untracked changes
Diffstat (limited to 'include/classes.php')
-rw-r--r-- | include/classes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/classes.php b/include/classes.php index 321e063..65017b6 100644 --- a/include/classes.php +++ b/include/classes.php @@ -97,13 +97,13 @@ class Bayonet_Theme extends Bayonet_Layout class Bayonet_Config { static $ini; + static function init() { decho('Parsing configuration data'); if (file_exists(BAYONET_CONFIG)) { - self::$ini = parse_ini_file(BAYONET_CONFIG, true); - decho(self::$ini); + self::$ini = require_once 'config.php'; } else die(BAYONET_CONFIG . ' not found'); } |