@@ 86-96 (lines=11) @@ | ||
83 | clearstatcache(); |
|
84 | } |
|
85 | ||
86 | public function createSessionTableCliAction() |
|
87 | { |
|
88 | $std = new Std(); |
|
89 | $type = $std->read('database type [mysql|sqlite]', '(mysql|sqlite)'); |
|
90 | ||
91 | if ($this->createTable($type, 'session')) { |
|
92 | echo 'Session table successfully created.' . PHP_EOL; |
|
93 | } else { |
|
94 | echo 'Problems creating session table!' . PHP_EOL; |
|
95 | } |
|
96 | } |
|
97 | ||
98 | public function createCacheTableCliAction() |
|
99 | { |
|
@@ 98-108 (lines=11) @@ | ||
95 | } |
|
96 | } |
|
97 | ||
98 | public function createCacheTableCliAction() |
|
99 | { |
|
100 | $std = new Std(); |
|
101 | $type = $std->read('database type [mysql|sqlite]', '(mysql|sqlite)'); |
|
102 | ||
103 | if ($this->createTable($type, 'cache')) { |
|
104 | echo 'Cache table successfully created.' . PHP_EOL; |
|
105 | } else { |
|
106 | echo 'Problems creating cache table!' . PHP_EOL; |
|
107 | } |
|
108 | } |
|
109 | ||
110 | /** |
|
111 | * @param string $type |