Esempio n. 1
0
 public static function add_config()
 {
     $props = ['maintenance' => 1, 'created_at' => date('Y-m-d H:i:s', Date::forge()->get_timestamp())];
     $query = Model_Config::forge($props);
     $query->save();
 }