added missing files

This commit is contained in:
Marc Wäckerlin
2015-07-08 07:13:58 +00:00
parent d17175b421
commit 92dd3d848e
2 changed files with 53 additions and 0 deletions

13
html/functions.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
function error($txt) {
echo json_encode(array('success' => false, 'txt' => $txt));
exit;
}
function success($txt) {
echo json_encode(array('success' => true, 'txt' => $txt));
exit;
}
?>