Topic: Minor admin_options.php bug
$pun_root is missing on line ~250:
$d = dir('style');
Should be: $d = dir($pun_root.'style');
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 bug reports → Minor admin_options.php bug
$pun_root is missing on line ~250:
$d = dir('style');
Should be: $d = dir($pun_root.'style');
Also found another bug in functions.php line 190:
$links[] = '<a href="'.$pun_root.'register.php">'.$lang_common['Register'].'</a> | <a href="login.php">'.$lang_common['Login'].'</a>';
No $pun_root in login.php link.
$pun_root is the relative local path to the PunBB root directory, not the relative path on the webserver so to speak. There shouldn't be a $pun_root there and there isn't one in 1.1.4 (not even for the register.php link).
The first thing you noted is however true. I'll make a note of it for 1.2.
Aaaalrighty then :P
Fixed.
PunBB Forums → PunBB 1.2 bug reports → Minor admin_options.php bug
Powered by PunBB, supported by Informer Technologies, Inc.