ソースを参照

Added primitive ajax.php for testing

Foppe Hemminga 6 年 前
コミット
fd7969da08
1 ファイル変更2 行追加2 行削除
  1. 2 2
      ajax.php

+ 2 - 2
ajax.php

@@ -1,14 +1,14 @@
 <?php
 
 if (is_ajax()) {
-	if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
+	// if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
 		// $action = $_POST["action"];
 		// switch ($action) { //Switch case for value of action
 		//	case "test":
 				test_function();
 		//		break;
 		//}
-	}
+	// }
 }
 
 //Function to check if the request is an AJAX request