diff options
Diffstat (limited to 'core/migrations.php')
-rw-r--r-- | core/migrations.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/migrations.php b/core/migrations.php index 1ddeefd..52cf31d 100644 --- a/core/migrations.php +++ b/core/migrations.php @@ -8,7 +8,9 @@ $Migrator = Application::getMigrator(); # Check for outstanding database schema migrations #=============================================================================== if($Migrator->isMigrationNeeded()) { - @session_start(); + if(session_status() !== PHP_SESSION_ACTIVE) { + session_start(); + } Application::set('TEMPLATE.NAME', Application::get('ADMIN.TEMPLATE')); Application::set('TEMPLATE.LANG', Application::get('ADMIN.LANGUAGE')); |