forked from mikhnyuk/Story
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
34 lines (28 loc) · 991 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
34
<?php
$config = array(
// Title of the site
"Site_Title" => "uWrite",
// Author and description of the site, which are meta tags in head
"Site_Author" => "SGL",
"Site_Description" => "uWrite is a minimalist WEB-3 publishing tool that allows you to create richly formatted posts",
// 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" => "root",
"MySQL_pass" => "",
"MySQL_db" => "uwrite",
// Is debug enabled?
"Debug" => false,
// Current timezone
"Timezone" => "Europe/Moscow",
// 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"); exit;
}