0byt3m1n1
Path:
/
var
/
www
/
listcrawler.app
/
public_html
/
admin
/
config
/
[
Home
]
File: config.php
<?php //Note: This file should be included first in every php page. error_reporting(E_ALL); ini_set('display_errors', 'On'); define('BASE_PATH', dirname(dirname(__FILE__))); define('APP_FOLDER', 'simpleadmin'); define('CURRENT_PAGE', basename($_SERVER['REQUEST_URI'])); require_once BASE_PATH . '/lib/MysqliDb/MysqliDb.php'; require_once BASE_PATH . '/helpers/helpers.php'; /* |-------------------------------------------------------------------------- | DATABASE CONFIGURATION |-------------------------------------------------------------------------- */ define('DB_HOST', "localhost"); define('DB_USER', "usrprodating"); define('DB_PASSWORD', "usr9rod@t1ng"); define('DB_NAME', "listcrawler_db"); /** * Get instance of DB object */ function getDbInstance() { return new MysqliDb(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); }