2
/register.php lines 268-269:
Change
include 'include/registerform.php';
$reg_form->display();
To
if (date('H') > "20" || date('H') < "08"){
echo('Site registration is closed between the hours of 20:00-08:00. Please come back later');
}else{
include 'include/registerform.php';
$reg_form->display();
}
Something like this should do the trick for you. Just remember to document the change for when you upgrade in the future.
HTH.
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.