forked from excodex/What-A-Story
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
33 lines (27 loc) · 841 Bytes
/
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
<?php
$config = array(
// Title of the site
"Site_Title" => "What-A-Story",
// Author and description of the site, which are meta tags in head
"Site_Author" => "",
"Site_Description" => "",
// Language of the site || en: English, hu: Hungarian
"Site_Language" => "en",
// Is the site offline? If true, a message will appear on the homepage
"Is_Offline" => false,
// MySQL login details
"MySQL_host" => "localhost",
"MySQL_user" => "",
"MySQL_pass" => "",
"MySQL_db" => "",
// Is debug enabled?
"Debug" => false,
// Current timezone
"Timezone" => "Europe/Budapest",
// Date show type on view page
"DateShowTypeView" => "F j, Y"
);
date_default_timezone_set($config['Timezone']);
require("lang/" . $config["Site_Language"] . ".php");
if($config["Is_Offline"]){ include("offline.php"); die(); }
?>