strpos($_SERVER, 'local.') !== FALSE ? Fuel::DEVELOPMENT : Fuel::PRODUCTION
$ php oil -v
PHP Notice: Undefined index: SERVER_NAME in C:\xampp\htdocs\fuel\fuel\app\
config\config.php on line 32 Notice: Undefined index: SERVER_NAME in C:\xampp\htdocs\fuel\fuel\app\confi
g\config.php on line 32
Fuel: 1.0.0-dev
(isset($_SERVER['SERVER_NAME']) && strpos($_SERVER['SERVER_NAME'], 'local.') !== FALSE) ? Fuel::DEVELOPMENT : Fuel::PRODUCTION;
It looks like you're new here. If you want to get involved, click one of these buttons!