Viewing: configuration.php
<?php @ob_start(); @session_start(); //error_reporting(2); // DB Info $sLoacl = true; //$sLoacl = false; if($sLoacl == true) { define('sDBHOST','localhost'); define('sDBUSERNAME','thetesti_testing'); define('sDBPASSWORD','testings@234'); define('sDBNAME','thetesti_testings'); define('sHOST','http://thetestingworld.com/testings/'); // for site url } else { define('sDBHOST','localhost'); define('sDBUSERNAME','root'); define('sDBPASSWORD',''); define('sDBNAME','techwin'); define('sHOST','http://127.0.0.1/techwin/'); // for localhost url } $sALLOWED_FLE = array('jpg','txt','pdf','xls','doc','docx','xlsx','ppt','pptx'); $sALLOWED_EXT = array('jpg', 'gif', 'png' ,'doc','docx','jpeg'); $aTmpUri = explode("/", trim($_SERVER['REQUEST_URI'])); if(in_array("admin", $aTmpUri)) { function __autoload($class_name) { require_once "../classes/".strtolower($class_name).'.php'; } } else { function __autoload($class_name) { require_once "classes/".strtolower($class_name).'.php'; } } ?>
Return