Automatically calculate the filesystem path of the application and use
[misc/kostenrechnung] / ajax / ajax.php
index a709a03..57f35a3 100644 (file)
@@ -60,7 +60,7 @@ if (empty($_POST['source']))
   exit;
 
 connect_db();
-if (load_mask($_POST['source'], '../') === false) exit;
+if (load_mask($_POST['source']) === false) exit;
 
 $data = array('error' => 'Unknown function');