includes/sessions.php
changeset 232 2b60c89dc27f
parent 229 b2f985e4cef3
child 235 b3cfaf0a505c
equal deleted inserted replaced
231:9a1a32bc2050 232: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     {