8 lines
209 B
PHP
8 lines
209 B
PHP
<?php
|
|
include "/m/data1/app.hotlunches.net/db.php";
|
|
|
|
$result = db_getVal("SELECT userid FROM users WHERE school_num = 0 AND record_num = 1");
|
|
if ($result == 'superuser') echo("OK\n");
|
|
else echo("ERROR\n");
|
|
?>
|