Update ajax.php

This commit is contained in:
Anye 2013-12-17 15:14:51 +08:00
parent d1ad12cb45
commit 6a417ae818

View file

@ -2,7 +2,7 @@
sleep(2);
$users = ['elclanrs', 'peter', 'john', 'mike'];
$users = array('elclanrs', 'peter', 'john', 'mike');
echo json_encode(! in_array($_POST['username'], $users));