OSDN Git Service

Don't run anything without related cache
[pukiwiki/pukiwiki.git] / pukiwiki.php
index 266297d..e29c12e 100644 (file)
@@ -1,11 +1,20 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: pukiwiki.php,v 1.38 2004/08/01 01:58:09 henoheno Exp $
+// $Id: pukiwiki.php,v 1.39 2004/09/20 00:48:34 henoheno Exp $
 
+/////////////////////////////////////////////////
+// Error reporting
+
+// error_reporting(0): // Nothing
+error_reporting(E_ERROR | E_PARSE); // Avoid E_WARNING, E_NOTICE, etc
+// error_reporting(E_ALL);
+
+/////////////////////////////////////////////////
 // Directory definition
 // (Ended with a slash like '../path/to/pkwk/', or '')
 define('DATA_HOME',    '');
 define('LIB_DIR',      'lib/');
 
+/////////////////////////////////////////////////
 require(LIB_DIR . 'pukiwiki.php');
 ?>