|
@@ -25,7 +25,7 @@
|
|
|
*/
|
|
|
include "root.php";
|
|
|
require_once "includes/require.php";
|
|
|
-require_once "includes/checkauth.php";
|
|
|
+require_once "resources/check_auth.php";
|
|
|
if (if_group("admin") || if_group("superadmin")) {
|
|
|
//access granted
|
|
|
}
|
|
@@ -180,7 +180,7 @@ function ajaxFunction()
|
|
|
|
|
|
var api_cmd = document.getElementById('api_cmd').value;
|
|
|
//alert('cmd:'. api_cmd);
|
|
|
- xmlhttp.open("GET","<?php echo PROJECT_PATH; ?>/includes/cmd.php?cmd="+escape(api_cmd)+"&rdr=false",true);
|
|
|
+ xmlhttp.open("GET","<?php echo PROJECT_PATH; ?>/resources/cmd.php?cmd="+escape(api_cmd)+"&rdr=false",true);
|
|
|
xmlhttp.send(null);
|
|
|
}
|
|
|
|