includes/common.php
changeset 607 935f3799b654
parent 593 4f9bec0d65c1
child 613 c08670a77871
equal deleted inserted replaced
605:d2d4e40ecd29 607:935f3799b654
   135 require_once(ENANO_ROOT.'/includes/dbal.php');
   135 require_once(ENANO_ROOT.'/includes/dbal.php');
   136 require_once(ENANO_ROOT.'/includes/paths.php');
   136 require_once(ENANO_ROOT.'/includes/paths.php');
   137 require_once(ENANO_ROOT.'/includes/sessions.php');
   137 require_once(ENANO_ROOT.'/includes/sessions.php');
   138 require_once(ENANO_ROOT.'/includes/template.php');
   138 require_once(ENANO_ROOT.'/includes/template.php');
   139 require_once(ENANO_ROOT.'/includes/plugins.php');
   139 require_once(ENANO_ROOT.'/includes/plugins.php');
       
   140 require_once(ENANO_ROOT.'/includes/cache.php');
   140 require_once(ENANO_ROOT.'/includes/lang.php');
   141 require_once(ENANO_ROOT.'/includes/lang.php');
   141 require_once(ENANO_ROOT.'/includes/render.php');
   142 require_once(ENANO_ROOT.'/includes/render.php');
   142 require_once(ENANO_ROOT.'/includes/rijndael.php');
   143 require_once(ENANO_ROOT.'/includes/rijndael.php');
   143 require_once(ENANO_ROOT.'/includes/email.php');
   144 require_once(ENANO_ROOT.'/includes/email.php');
   144 require_once(ENANO_ROOT.'/includes/json2.php');
   145 require_once(ENANO_ROOT.'/includes/json2.php');
   306   $row = $db->fetchrow();
   307   $row = $db->fetchrow();
   307   setConfig('default_language', $row['lang_id']);
   308   setConfig('default_language', $row['lang_id']);
   308 }
   309 }
   309 
   310 
   310 profiler_log('Ran checks');
   311 profiler_log('Ran checks');
       
   312 
       
   313 // Init cache
       
   314 $cache = new CacheManager();
   311 
   315 
   312 // Load plugin manager
   316 // Load plugin manager
   313 $plugins = new pluginLoader();
   317 $plugins = new pluginLoader();
   314 
   318 
   315 //
   319 //