htdocs/snippets.php
changeset 18 07be890ef627
parent 8 0acb8d9a3194
equal deleted inserted replaced
17:b07b23187b17 18:07be890ef627
     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 )