includes/sessions.php
changeset 289 2b60c89dc27f
parent 286 b2f985e4cef3
child 292 b3cfaf0a505c
equal deleted inserted replaced
288:9a1a32bc2050 289:2b60c89dc27f
   258    
   258    
   259   function __construct()
   259   function __construct()
   260   {
   260   {
   261     global $db, $session, $paths, $template, $plugins; // Common objects
   261     global $db, $session, $paths, $template, $plugins; // Common objects
   262     
   262     
   263     if ( defined('IN_ENANO_INSTALL') )
   263     if ( defined('IN_ENANO_INSTALL') && !defined('IN_ENANO_UPGRADE') )
   264     {
   264     {
   265       @include(ENANO_ROOT.'/config.new.php');
   265       @include(ENANO_ROOT.'/config.new.php');
   266     }
   266     }
   267     else
   267     else
   268     {
   268     {