-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
58 lines (32 loc) · 1.13 KB
/
config.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
<?php
include_once 'identification.php';
$url = $_SERVER["REQUEST_SCHEME"]."://".$_SERVER["HTTP_HOST"].DIRECTORY_SEPARATOR.$_SERVER ["PHP_SELF"];
$url = str_replace("index.php","", $url);
define('SITE_URL',"$url");
$url_img = $url."Data/main/img/";
define("SITE_IMG",$url_img);
define("SITE_NM",'/store_website/');
define('SITE_PATH',__DIR__.DIRECTORY_SEPARATOR);
define('APP_TITLE','stors');
define("TB_US_NM",'users');
define("DB_NM",'webstore');
define("TB_L_G_COLUMN","list_groups_column");
define("TB_L_G_ROW","list_groups_row");
define("TB_L_G_ROW_S","list_groups_row_s");
define("TB_STRINGS","strings");
define("TB_HOME_MS","home_ms");
define("TB_PDS_GL","Products_gallery");
define("TB_LISR_N","list_name");
define("TB_IMG_LS","img_table_list");
define('SERVER_NAME','localhost');
define("USER_NAME","root");
define("USER_PASSWORD","");
define("TB_USERS","users");
define("_DIS_","FALSE,Disconnect");
define("_SEL_","FALSE,Not selected");
define("_INS_","FALSE,Not inserted");
define("_AVA_","FALSE,Available");
define("_UNAVA_","FALSE,UnAvailable");
foreach(glob('lib/*.php') as $Php_File){
include_once ($Php_File);
}