Add some required info for creating server config

This commit is contained in:
Yiğit Kerem Oktay 2020-08-14 14:58:05 +03:00 committed by GitHub
parent 484bbd60d0
commit b14f60e08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,20 @@
<?php
//This is config file, please be careful
/**************************************************************************************/
// SERVER STATUS CONFIG FILE TEMPLATE
// THIS FILE IS FOR CREATING YOUR CONFIG MANUALLY
// !!!!!!!IMPORTANT NOTE!!!!!!!!!
// You will need to create your htaccess or web.config file yourself.
// Please head to http(s)://yourdomain.com/create-server-config.php
// Wait until script finishes.
// Then delete it from your document root.
// We are sorry for this inconvinience and we will be automating this process soon.
// ------------------------
// Contributors:
// Vojtěch Sajdl - Yigit Kerem Oktay - Thomas Nilsen - jhuesser
/**************************************************************************************/
session_start();
//You can change these:
//Start editing here
define("NAME", "##name##"); //Website name
define("TITLE", "##title##");
define("WEB_URL", "##url##"); //Used for links
@ -15,7 +28,7 @@ define("WHO_WE_ARE","##who_we_are##");
define("POLICY_URL","##policy_url##");
define("INSTALL_OVERRIDE", false);
define("DEFAULT_LANGUAGE", "en_GB");
//Stop editing
require("classes/locale-negotiator.php");
$negotiator = new LocaleNegotiator(DEFAULT_LANGUAGE);
@ -42,4 +55,4 @@ if ($mysqli->connect_errno) {
exit();
}
$mysqli->set_charset("utf8");
$mysqli->set_charset("utf8");