- Timestamp:
- Aug 8, 2019 10:38:24 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/init_codebase_tables.cli.php
r601 r699 172 172 // DBSessionHandler! 173 173 174 // We need to hack the app to allow sessions to run in a CLI. 175 $app->stop(); 176 $app->cli = false; 177 $app->setParam(array('enable_session' => true)); 178 $app->start(); 174 if (version_compare(PHP_VERSION, '7.0.0', '<')) { 175 // We need to hack the app to allow sessions to run in a CLI. 176 $app->stop(); 177 $app->cli = false; 178 $app->setParam(array('enable_session' => true)); 179 $app->start(); 180 } 179 181 180 182 if (!isset($opt['c'])) {
Note: See TracChangeset
for help on using the changeset viewer.