Added a wait splash screen

This commit is contained in:
Pierre
2017-01-21 19:30:27 +01:00
parent 2352a47ab8
commit ff3318409f
9 changed files with 140 additions and 1 deletions

View File

@ -1,6 +1,17 @@
<?php
//Include page initiator
include("corePage/initPage.php");
//We check if it is a redirection
if(isset($_SERVER["REDIRECT_URL"])){
//We check if it is an asset request
if(preg_match("<assets>", $_SERVER["REDIRECT_URL"])){
//This is a 404 not found error...
echo "<p>Error! 404 not found</p>";
http_response_code(404);
exit();
}
}
?>
<!--
Comunic web app client
@ -30,6 +41,12 @@
//Production mode
productionMode: <?php echo config['productionMode']; ?>,
//Assets URL
assetsURL: "<?php echo config['pathAssets']; ?>",
//Site URL
siteURL: "<?php echo config['siteURL']; ?>",
//apiURL
apiURL: "<?php echo config['API_URL']; ?>",