-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatic.php
More file actions
19 lines (16 loc) · 831 Bytes
/
static.php
File metadata and controls
19 lines (16 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
// Active Maintenace Mode
$page = __DIR__.DIRECTORY_SEPARATOR."..".DIRECTORY_SEPARATOR."aseq".DIRECTORY_SEPARATOR."static".DIRECTORY_SEPARATOR."maintenance.php";
$value = new DateTime("tomorrow");//DateTime::createFromFormat('Y-m-d H:i', '2020-01-01 00:00');
$title = "Under Maintenance";
$description = "<p>Our website is currently undergoing scheduled maintenance.
We Should be back shortly. Thank you for your patience.</p>";
$email = "info@aseqbase.ir";
$contacts = array("<a href='mailto:$email'>$email</a>");
$GLOBALS["StaticValue"] = $value;
$GLOBALS["StaticTitle"] = $title;
$GLOBALS["StaticDescription"] = $description;
$GLOBALS["StaticEmail"] = $email;
$GLOBALS["StaticContacts"] = $contacts;
include_once($page);
?>