Topic: Parameter count issues with define(PUN_ALLOW_INDEX)
I am trying to set up an install of Punbb and have the "noindex, noarchive" meta tags added to all pages, as defined by PUN_ALLOW_INDEX in header.php.
For example, in index.php, the following code has a parameter of 1 to allow indexing.
$page_title = pun_htmlspecialchars($pun_config['o_board_title']);
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
If I want to turn off indexing for that page (or any other where that code is included), what parameter do I need to use in place of 1? I tried changing it to 0, but got the following warning message: Warning: Wrong parameter count for define() in .... when doing so; however, it did include the "noindex, noarchive" meta tags when the parameter count was 0.
I've searched the forums and checked the documentation, but don't see this listed anywhere.
Thanks in advance for the help!