Exemplo n.º 1
0
 public static function setDefault($def)
 {
     AppMode::$default = $def;
 }
Exemplo n.º 2
0
<?php

require "../index.php";
var_dump(AppMode::get());
AppMode::clear();
AppMode::set("localhost", "localhost-mode");
var_dump(AppMode::get());
AppMode::clear();
AppMode::setDefault("production");
var_dump(AppMode::get());