-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
76 lines (56 loc) · 1.79 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
session_start();
function getCurrentDirectory() {
$path = DIRNAME($_SERVER['PHP_SELF']);
$position = STRRPOS($path,'/') + 1;
$rd = SUBSTR($path,$position);
return $rd ? $rd. '/' : '';
// echo $path.'----'.$position.'asd----';
//echo $rd.'--';
}
$rootDir = getCurrentDirectory();
//echo $rootDir.'===';
//$rootDir = 'beta/';
//Error Settings
ini_set('display_errors', '1');
//Zone Settings
date_default_timezone_set('Asia/Kolkata');
//Website Settings
define('DOMAIN_NAME', $_SERVER['SERVER_NAME']);
define('WEBROOT','http://'. DOMAIN_NAME. '/viaslide6/'. $rootDir);
#define('DOCROOT','/beta/');
define('DOCROOT','/viaslide6/');
define('THEME_NAME', 'default');
//define('THEMEPATH', 'view/themes/'. THEME_NAME. '/');
define('THEMEPATH', '');
define('WEBSITE_TITLE', 'VIA SLIDE');
define('WEBSITE_DATA', 'VIA SLIDE');
define('WEBSITE_LOGO', DOCROOT. 'common_assets/website_data/images/logo.jpg');
define('WEBSITE_FAVICON', DOCROOT. 'common_assets/website_data/images/fav-icon.png');
define('WEBSITE_LANGUAGE', 'english');
//define('WEBSITE_BODYBG', WEBROOT.TEMPLATEPATH. '');
// Mail Settings
define('WEBMASTER_EMAIL','[email protected]');
define('WEBSITE_NAME','ViaSlide');
define('EMAIL_SIGN','Thanks & Regards,<br />VIA SLIDE TEAM');
define('PAGE_LIMIT',24);
define('ADMIN_PAGE_LIMIT',25);
//Misc Settings
define('CAPTCHA',true);
define('TERMS',false);
//Product Settings
define('SERVICE_TAX','12.50');
define('CURRENCY','INR');
// Database Settings
/*define('TABLE_PREFIX','tbl_');
define('DB_HOST','viaslide.db.11677022.hostedresource.com');
define('DB_USER','viaslide');
define('DB_PWD','Smile@12');
define('DB_NAME','viaslide');
*/
define('TABLE_PREFIX','tbl_');
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PWD','asdf');
define('DB_NAME','viaslide');
?>