Ajax Headers for Alert Forms

This commit is contained in:
pblasquez
2016-04-26 14:39:10 -07:00
parent add7aeba6b
commit d4d2736954
11 changed files with 11 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
header('Content-type: application/json');
if (is_admin() === false) {
die('ERROR: You need to be admin');