Working on tests for the Model class

Fixed some bugs, got MySQL setup for Travis.
This commit is contained in:
Joshua Sherman 2014-01-16 17:06:31 -05:00
parent 200988eecf
commit 51467a60f7
9 changed files with 209 additions and 52 deletions

View file

@ -78,7 +78,7 @@ class Profiler
public static function enabled(/* polymorphic */)
{
$config = Config::getInstance();
$config = $config->pickles['profiler'];
$config = isset($config->pickles['profiler']) ? $config->pickles['profiler'] : false;
// Checks if we're set to boolean true
if ($config === true)