Example #1
0
 /**
  * Write or update a configuration string
  * 
  * @param string $prefix
  * @param string $key
  * @param string $value
  */
 public static function set($prefix, $key, $value)
 {
     $prefix = strtolower($prefix);
     $key = strtolower($key);
     self::get_instance()->settings[$prefix][$key] = $value;
     // Update the parent and the file
     Application::get_instance()->get_config()->set($prefix, $key, $value);
 }
Example #2
0
function App()
{
    return Application::get_instance();
}