mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 23:31:02 +00:00
Revert MASTER! STAY HERE !!!
This commit is contained in:
+1
-5
@@ -17,10 +17,6 @@
|
|||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
// Multi-instance bootstrap MUST run before session_start() so each world gets
|
|
||||||
// its own session name and its own configuration before Admin loads the DB.
|
|
||||||
require_once __DIR__ . "/../GameEngine/Instance/Bootstrap.php";
|
|
||||||
|
|
||||||
// ─── SESSION ─────────────────────────────────────────────────────────────────
|
// ─── SESSION ─────────────────────────────────────────────────────────────────
|
||||||
// Harden session cookie before session_start() — has no effect after.
|
// Harden session cookie before session_start() — has no effect after.
|
||||||
if (session_status() === PHP_SESSION_NONE) {
|
if (session_status() === PHP_SESSION_NONE) {
|
||||||
@@ -44,7 +40,7 @@ include_once("../GameEngine/config.php");
|
|||||||
include_once("../GameEngine/Database.php");
|
include_once("../GameEngine/Database.php");
|
||||||
require_once __DIR__ . "/../GameEngine/Lang/loader.php";
|
require_once __DIR__ . "/../GameEngine/Lang/loader.php";
|
||||||
tz_load_language(LANG);
|
tz_load_language(LANG);
|
||||||
include_once __DIR__ . "/../GameEngine/Admin/database.php";
|
include_once("../GameEngine/Admin/database.php");
|
||||||
|
|
||||||
// Helperul care descopera pachetele grafice din gpack/ (tz_available_gpacks).
|
// Helperul care descopera pachetele grafice din gpack/ (tz_available_gpacks).
|
||||||
// Sabloanele panoului il folosesc pentru selectorul de pachet; fara acest
|
// Sabloanele panoului il folosesc pentru selectorul de pachet; fara acest
|
||||||
|
|||||||
Reference in New Issue
Block a user