示例#1
0
 public static function setDefault($def)
 {
     AppMode::$default = $def;
 }
示例#2
0
文件: test.php 项目: krasimir/fabrico
<?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());