Initial commit
[2ch-be.git] / config.php
blobb250201484b0d3b84403609c146023035c266109
1 <?php
2 date_default_timezone_set("Asia/Tokyo");
3 //echo (isset($_SERVER['HTTPS']) ? 's' : '')
4 //echo ($_SERVER["HTTPS"] != "on") : '.' ? '';
5 // if($_SERVER["HTTPS"] != "on")
6 // {
7 // header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
8 // exit();
9 // }
11 $livesitePath = "http" . ( ($_SERVER['HTTP_X_FORWARDED_PROTO']=='https') ? 's' : '')."://".$_SERVER['HTTP_HOST']."/";
12 $livesitePath2 = "http" . ( ($_SERVER['HTTP_X_FORWARDED_PROTO']=='https') ? 's' : '')."://".$_SERVER['HTTP_HOST']."/";
14 //$livesitePath = "http" . (isset($_SERVER['HTTPS']) ? 's' : '')."://".$_SERVER['HTTP_HOST']."/";
15 //$livesitePath = "https://".$_SERVER['HTTP_HOST']."/";
16 //$livesitePath2 = "http" . (isset($_SERVER['HTTPS']) ? 's' : '')."://".$_SERVER['HTTP_HOST'];
17 //$livesitePath2 = "https://".$_SERVER['HTTP_HOST'];
18 define('KEY', "KungAnoAnoLang123456789");
19 define('DB_PATH', "/home/db/");
20 define('FORGOT', "0._{_forgot_}_.0");
22 //error_reporting(E_ALL); ini_set("display_errors", 1);
23 define('MDB_PATH', '/home/mdb/');
24 define('ADB_PATH', '/home/adb/');
25 define('UDB_PATH', '/home/udb/');
26 include('/home/auth/public_html/include/messaging.class.php');
27 $id_mail_path = "/home/db/idlist.log";
28 $plimit_path = "/home/plimit/";
29 $plimit_hpath = "/home/hlimit/";