Topic: Minor admin_options.php bug

$pun_root is missing on line ~250:

$d = dir('style');

Should be: $d = dir($pun_root.'style');

Re: Minor admin_options.php bug

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.

Re: Minor admin_options.php bug

$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.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Minor admin_options.php bug

Aaaalrighty then :P

Re: Minor admin_options.php bug

Fixed.

"Programming is like sex: one mistake and you have to support it for the rest of your life."