htdocs/snippets.php
changeset 26 51560f5414a6
parent 18 07be890ef627
equal deleted inserted replaced
25:e5e4ba531f41 26:51560f5414a6
     9  * YOU NEED TO SET THE PATH TO THE REST OF THE EnanoBot FILES HERE.
     9  * YOU NEED TO SET THE PATH TO THE REST OF THE EnanoBot FILES HERE.
    10  * Include a trailing slash.
    10  * Include a trailing slash.
    11  * This script MUST be placed in an Enano installation directory.
    11  * This script MUST be placed in an Enano installation directory.
    12  *****************************************************************/
    12  *****************************************************************/
    13 
    13 
    14 define('ENANOBOT_ROOT', dirname(__FILE__) . '/');
    14 define('ENANOBOT_ROOT', dirname(__FILE__) . '/../');
    15 
    15 
    16 // load Enano for auth
    16 // load Enano for auth
    17 /*
    17 /*
    18 require('includes/common.php');
    18 require('includes/common.php');
    19 if ( $session->user_level < USER_LEVEL_ADMIN )
    19 if ( $session->user_level < USER_LEVEL_ADMIN )