diff --git a/assets/js/common/debug.js b/assets/js/common/debug.js
index cd3c7a6f..33e2eaed 100644
--- a/assets/js/common/debug.js
+++ b/assets/js/common/debug.js
@@ -18,7 +18,7 @@ ComunicWeb.debug = {
*/
logMessage: function(message){
//We check we are not in production mode
- if(ComunicWeb.__config.productionMode != 1){
+ if(ComunicWeb.__config.productionMode != true){
console.log("ComunicWebApp debug message", message);
}
diff --git a/corePage/config/dev.config.php b/corePage/config/dev.config.php
deleted file mode 100644
index 8162a40c..00000000
--- a/corePage/config/dev.config.php
+++ /dev/null
@@ -1,218 +0,0 @@
-".(config['siteMode'] == 0 ? "\n\t\t" : "");
-}
-
-/**
- * Returns the source code for including a CSS file
- *
- * @param String $file Path to the CSS file
- * @return String HTML Source code to include the CSS file
- */
-function CSSFileInclusionCode($file){
- return "".(config['siteMode'] == 0 ? "\n\t\t" : "");
-}
diff --git a/corePage/initPage.php b/corePage/initPage.php
deleted file mode 100644
index f904a7f0..00000000
--- a/corePage/initPage.php
+++ /dev/null
@@ -1,34 +0,0 @@
-", $_SERVER["REDIRECT_URL"])){
- //This is a 404 not found error...
- echo "
Error! 404 not found
";
- http_response_code(404);
- exit();
- }
+//We check if it is a redirection to handle 404 errors
+if(isset($_SERVER["REDIRECT_URL"])){
+ //We check if it is an asset request
+ if(preg_match("", $_SERVER["REDIRECT_URL"])){
+ //This is a 404 not found error...
+ echo "