Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(file_exists(dirname(__FILE__).'/lock')){
- $errorCode = "SBBCE2";
- $errorMessage = "[Simple Bulletin Board Custom Error #2] Installer Locked";
- $errorFile = "Installer Directory";
- $errorLine = "ALL";
- include(dirname(dirname(__FILE__))."/includes/error.php");
- }
- if(!file_exists(dirname(dirname(__FILE__)).'/includes/config.php')){
- $errorCode = "SBBCE1";
- $errorMessage = "[Simple Bulletin Board Custom Error #1] Config not Found!";
- $errorFile = "Installer Directory";
- $errorLine = "ALL";
- include(dirname(dirname(__FILE__))."/includes/error.php");
- }
- if(!file_exists(dirname(dirname(__FILE__)).'/includes/functions_class.php')){
- $errorCode = "SBBCE4";
- $errorMessage = "[Simple Bulletin Board Custom Error #4] Functions not Found!";
- $errorFile = "Installer Directory";
- $errorLine = "ALL";
- include(dirname(dirname(__FILE__))."/includes/error.php");
- }
- if(!file_exists(dirname(dirname(__FILE__)).'/includes/mysql_database_pdo_class.php')){
- $errorCode = "SBBCE3";
- $errorMessage = "[Simple Bulletin Board Custom Error #3] Database class not Found!";
- $errorFile = "Installer Directory";
- $errorLine = "ALL";
- include(dirname(dirname(__FILE__))."/includes/error.php");
- }
- require(dirname(dirname(__FILE__)).'/includes/config.php');
- require(dirname(dirname(__FILE__)).'/includes/functions_class.php');
- require(dirname(dirname(__FILE__)).'/includes/mysql_database_pdo_class.php');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement