Include files by absolute path

This commit is contained in:
cytopia 2016-11-06 17:20:51 +01:00
parent 28ec8e7285
commit 24d3b65ec1
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -12,7 +12,7 @@ error_reporting(-1);
$CONF_DIR = dirname(__FILE__); $CONF_DIR = dirname(__FILE__);
$INCL_DIR = $CONF_DIR . DIRECTORY_SEPARATOR . 'include'; $INCL_DIR = $CONF_DIR . DIRECTORY_SEPARATOR . 'include';
$LIB_DIR = $INCL_DIR . DIRECTORY_SEPARATOR . 'lib'; $LIB_DIR = $INCL_DIR . DIRECTORY_SEPARATOR . 'lib';
$VEN_DIR = $INCL_DIR . DIRECTORY_SEPARATOR . 'include'; $VEN_DIR = $INCL_DIR . DIRECTORY_SEPARATOR . 'vendor';
$LOG_DIR = dirname(dirname($CONF_DIR)) . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR . 'devilbox'; $LOG_DIR = dirname(dirname($CONF_DIR)) . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR . 'devilbox';