Przeglądaj źródła

Add files via upload

Daniele Bonini (皮夕): WebDev, DevOps and homomm.org by lots of Simplicity bits 3 lat temu
rodzic
commit
ec49fbaa99
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      Public/index.php

+ 5 - 0
Public/index.php

@@ -39,6 +39,11 @@ $scriptPath = APP_SCRIPT_PATH;
 $url = strtolower(rtrim(substr(filter_input(INPUT_GET, "url", FILTER_SANITIZE_STRING), 0, 300), "/"));
 
 switch ($url) {
+  case "pushmessages":
+    $scriptPath = APP_AJAX_PATH;
+    define("SCRIPT_NAME", "pushmessages");
+    define("SCRIPT_FILENAME", "pushmessages.php");
+    break;      
   case "":
   case "home":
     define("SCRIPT_NAME", "home");