<?php
/*
File to restore Admin Area access details to default adm / adm
Please copy this file into script dir (where index.php resides),
run it and delete after this
*/
if(!file_exists('./inc/application.php')) die("File Not Found: application.php");
require './inc/application.php';
$db->query("UPDATE ".TBL_SETTINGS." SET login = 'adm',pwd = MD5('adm')");
echo 'Admin Area access details have been reset to "adm" / "adm". <br>'.
'Don\'t forget to delete this file ('.__FILE__.')';
?>