-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.php
68 lines (42 loc) · 1.58 KB
/
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
#####################################################################
# #
# Script : Configuraion file #
# #
# #
#####################################################################
#set_time_limit(0);
//error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
// For Live
/*************************************************************************/
//if ssl enable
//define ("SSL_ENABLE", false);
/*
if($_SERVER['SERVER_PORT'] == '80' && SSL_ENABLE == true ) {
header("location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
}*/
/**************************************************************************************************/
//define tables
define("TB_COUNTRY", "country");
define("MYSQL_SERVER","www.engineerinme.com");
define("MYSQL_USER","engineer");
define("MYSQL_PASS","kgggdkp1992");
define("MYSQL_DB","engineer_viral");
define("RDBMS","MYSQL");
define("TB_ADMINEM","tbl_adminemail");
define("TB_ADMIN","tbl_admin");
define("TB_PAGES","tbl_pages");
define("TB_RIGHT","tbl_copyright");
define("TB_IMGB","tbl_imgbaner");
define("TB_MAIL","tbl_mail");
define("TB_HOME","tbl_home");
define("TB_PAGES","tbl_pages");
define("WEBSITE_NAME","www.aldiuf.com");
require("database.inc");
$dbh = new cDatabases();
$dbh->Set(RDBMS);
$dbh->Connect(MYSQL_SERVER,MYSQL_USER,MYSQL_PASS,MYSQL_DB);
define("ENABLE_URL_REWRIING",true) ; // check if URL Rewiting enable
define("DEFAULT_POST_NAME","fld_id"); // this is default name of post/get name
//include_once("url_rewrite.php");
?>