stats-fe.php
changeset 44 73f74d395f95
parent 43 ce2e9caf2dfa
equal deleted inserted replaced
43:ce2e9caf2dfa 44:73f74d395f95
    11 define('NOW', time());
    11 define('NOW', time());
    12 
    12 
    13 require(ENANOBOT_ROOT . '/config.php');
    13 require(ENANOBOT_ROOT . '/config.php');
    14 require(ENANOBOT_ROOT . '/hooks.php');
    14 require(ENANOBOT_ROOT . '/hooks.php');
    15 require(ENANOBOT_ROOT . '/database.php');
    15 require(ENANOBOT_ROOT . '/database.php');
       
    16 
       
    17 $webtheme = ( isset($webtheme) && is_dir(ENANOBOT_ROOT . "/htdocs/themes/$webtheme") ) ? $webtheme : 'generic';
    16 
    18 
    17 mysql_reconnect();
    19 mysql_reconnect();
    18 
    20 
    19 /**
    21 /**
    20  * Gets ths list of channels.
    22  * Gets ths list of channels.