Example #1
0
 public function createCacheTableCliAction()
 {
     $std = new Std();
     $type = $std->read('database type [mysql|sqlite]', '(mysql|sqlite)');
     if ($this->createTable($type, 'session')) {
         echo 'Cache table successfully created.' . PHP_EOL;
     } else {
         echo 'Problems creating cache table!' . PHP_EOL;
     }
 }
 public function create_cache_tableCliAction()
 {
     $std = new Std();
     $type = $std->read('database type [mysql|sqlite]', '(mysql|sqlite)');
     var_dump($this->createTable($type, 'cache'));
 }