Ripristino template originale
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// -- GENERAL SETTING --
|
||||
$debug="on";
|
||||
$php_debug="on";
|
||||
|
||||
// --- DB SETTINGS ---
|
||||
$db_needed="no";
|
||||
$db_debug="yes";
|
||||
$db_host="localhost";
|
||||
$db_name="database-name";
|
||||
$db_user="database-user";
|
||||
$db_pass="database-user-password";
|
||||
|
||||
//-------------------------------------------------------------------------------------
|
||||
// --- DON'T CHANGE ALL THE CODE BELOW!!! ---
|
||||
//-------------------------------------------------------------------------------------
|
||||
|
||||
// --- GENERAL SECTION CONFIGURATION
|
||||
if ($debug == "on"){ define("DEBUG",true);} else { define("DEBUG", false); }
|
||||
|
||||
if ($php_debug == "on") {
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
} else {
|
||||
ini_set('display_errors', 0);
|
||||
error_reporting(0);
|
||||
}
|
||||
|
||||
// --- DB SECTION CONFIGURATION
|
||||
if ($db_needed == "yes"){
|
||||
define("DB_HOST", $db_host);
|
||||
define("DB_USER", $db_user);
|
||||
define("DB_PASS", $db_pass);
|
||||
define("DB_NAME", $db_name);
|
||||
define("DB_DEBUG", $db_debug);
|
||||
require_once(CONFIG_FOLD . "db.php");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user