Message: | Invalid config key [Walnut][url-store]. |
File: | /var/www/carwasha2/library/Load.php |
Line: | 40 |
29 |
static public function config($group = null, $key = null) |
30 |
{ |
31 |
if (!isset(self::$_config)) { |
32 |
self::$_config = include BASEPATH . 'application/config.php'; |
33 |
} |
34 |
|
35 |
if (isset($key)) { |
36 |
if (isset(self::$_config[$group][$key])) { |
37 |
return self::$_config[$group][$key]; |
38 |
} |
39 |
|
40 |
throw new InvalidArgumentException( |
41 |
'Invalid config key [' . $group . '][' . $key . '].' |
42 |
); |
43 |
} |
44 |
|
45 |
if (isset($group)) { |
46 |
if (isset(self::$_config[$group])) { |
47 |
return self::$_config[$group]; |
48 |
} |
49 |
|
50 |
throw new InvalidArgumentException( |
51 |
'Invalid config group [' . $group . '].' |
52 |
); |
#0 /var/www/carwasha2/models/ActiveRecord/Homepage.php(112): Load::config('Walnut', 'url-store') #1 /var/www/carwasha2/models/View/Index/Webshop.php(28): ActiveRecord_Homepage->walnutStore() #2 /var/www/carwasha2/application/index/views/pages/Webshop/index.php(9): View_Index_Webshop->iframe() #3 /var/www/carwasha2/library/Controller/View.php(209): include('/var/www/carwas...') #4 /var/www/carwasha2/library/Controller/Action.php(101): Controller_View->render('pages/Webshop/i...') #5 /var/www/carwasha2/library/Controller/Dispatcher.php(52): Controller_Action->render() #6 /var/www/carwasha2/library/Controller/Front.php(65): Controller_Dispatcher->dispatch(Object(Controller_Front)) #7 /var/www/carwasha2/www/index.php(23): Controller_Front->run() #8 {main}