Exemple #1
0
<?php

use Smooth\Config\Config;
Config::set('Http', array('key' => 'http', 'factory' => SYSPATH . 'http/Request.php'));
Exemple #2
0
<?php

use Smooth\Config\Config;
Config::set('App', array('url' => '/Smooth/', 'web_path' => 'Smooth', 'charset' => 'UTF-8', 'timezone' => 'America/Chicago'));
Exemple #3
0
<?php

use Smooth\Config\Config;
Config::set('Errors', array('environment' => 'development', 'all_strict' => 1));
Exemple #4
0
<?php

use Smooth\Config\Config;
Config::set('Loader', array('libraries' => array('Math', 'Db', 'Crypt', 'Url', 'Session', 'Security', 'Cache')));
Exemple #5
0
<?php

use Smooth\Config\Config;
Config::set('Dispatcher', array('baseController' => 'welcome', 'missingView' => '404View'));
// Limit: 1 url rewrite(beta; test period), due to issues, which will be fixed and added into the next beta version of Smooth;
Config::set('Routes', array());