-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.php
More file actions
40 lines (34 loc) · 1.34 KB
/
Copy pathindex.php
File metadata and controls
40 lines (34 loc) · 1.34 KB
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
35
36
37
38
39
40
<?php
//////////////////////////////////////////////////////////////
// RetroCMS //
//<<<<<<<<<<<<<< The Oldschool Era is Back >>>>>>>>>>>>>>>>>//
//----------------------------------------------------------//
// Developed by: Marcos [ aka: m.tiago ] //
// Development Thread: goo.gl/nwzdZo //
//////////////////////////////////////////////////////////////
// Beta Version 0.9.0 ( Aquamarine ) //
// Branch: Public (Unstable) //
// Compatibility Version(s): [r14,r15,r16,r17] //
//////////////////////////////////////////////////////////////
// + Call the Configuration File Once
// - File: Core.php
// - Desc: Database Settings
require_once('./core/core.php');
// + Start Session "habboWebsite"
// - Desc: Sessions for Website
session_start();
//UTF-8(Portuguese and Spanish Accents for PHP)
header("Content-Type: text/html; charset=utf-8",true);
// + Destroy Session "habboWebsite" if timeout
// - Desc: Sessions for Website
if (isset($_SESSION['habboLastActivity']) && ($_SERVER['REQUEST_TIME'] - $_SESSION['habboLastActivity']) > 10800) {
session_unset();
session_destroy();
session_id("habboWebsite");
session_start();
}
// + Load the Destination Content
// - Desc: Created a Object of RoutePath and Called function Load
$routeObject = new RoutePath($siteDiagnosis->get_hotelConection());
$routeObject->load();
?>