fix PHP notice undefined constant

Notice: Use of undefined constant AKEY - assumed 'AKEY' in /path/to/index.php on line 18