punbb/include/common.php
changeset 3 c0c445d4a13e
parent 2 a8a21e1c7afa
child 4 eb9ed4c366d0
equal deleted inserted replaced
2:a8a21e1c7afa 3:c0c445d4a13e
    21   MA  02111-1307  USA
    21   MA  02111-1307  USA
    22 
    22 
    23 ************************************************************************/
    23 ************************************************************************/
    24 
    24 
    25 // Enable DEBUG mode by removing // from the following line
    25 // Enable DEBUG mode by removing // from the following line
    26 //define('PUN_DEBUG', 1);
    26 define('PUN_DEBUG', 1);
    27 
    27 
    28 // This displays all executed queries in the page footer.
    28 // This displays all executed queries in the page footer.
    29 // DO NOT enable this in a production environment!
    29 // DO NOT enable this in a production environment!
    30 //define('PUN_SHOW_QUERIES', 1);
    30 define('PUN_SHOW_QUERIES', 1);
    31 
    31 
    32 if (!defined('PUN_ROOT'))
    32 if (!defined('PUN_ROOT'))
    33 	exit('The constant PUN_ROOT must be defined and point to a valid PunBB installation root directory.');
    33 	exit('The constant PUN_ROOT must be defined and point to a valid PunBB installation root directory.');
    34 
    34 
    35 // Load the functions script
    35 // Load the functions script