.htaccess
11 years ago
index.php
10 years ago
session.php
11 years ago
trace.php
11 years ago
wp-login.php
10 years ago
wp-settings.php
8 years ago
session.php
16 lines
| 1 | <?php |
| 2 | /** |
| 3 | * GOTMLS SESSION Start |
| 4 | * @package GOTMLS |
| 5 | */ |
| 6 | |
| 7 | if (!defined("GOTMLS_SESSION_TIME")) |
| 8 | define("GOTMLS_SESSION_TIME", microtime(true)); |
| 9 | if (!@session_id()) |
| 10 | @session_start(); |
| 11 | if (isset($_SESSION["GOTMLS_SESSION_TIME"])) |
| 12 | $_SESSION["GOTMLS_SESSION_LAST"] = $_SESSION["GOTMLS_SESSION_TIME"]; |
| 13 | else |
| 14 | $_SESSION["GOTMLS_SESSION_LAST"] = 0; |
| 15 | $_SESSION["GOTMLS_SESSION_TIME"] = GOTMLS_SESSION_TIME; |
| 16 |