mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-04-16 08:18:32 -04:00
Add some required info for creating server config
This commit is contained in:
parent
484bbd60d0
commit
b14f60e08b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user