diff --git a/inc/Core.php b/inc/Core.php new file mode 100644 index 0000000..765a252 --- /dev/null +++ b/inc/Core.php @@ -0,0 +1,15 @@ +
Please make sure IN_USEBB is defined."); +} + + +/* Defines the root directory for UseBB. + + Uncomment the below line and set the path manually + if you experience problems. + + Always add a trailing slash to the end of the path. + + * Path to your copy of UseBB + */ +//define('USEBB_ROOT', "./"); + +// Attempt autodetection +if(!defined('USEBB_ROOT')) +{ + define('USEBB_ROOT', dirname(dirname(__FILE__))."/"); +}