OSDN Git Service

Enable to list DIFF_DIR. Japanese => English.
[pukiwiki/pukiwiki.git] / index.php
index b406d09..20a4659 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,11 +1,20 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: index.php,v 1.1 2004/07/24 12:55:18 henoheno Exp $
+// $Id: index.php,v 1.4 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('SUB_DIR',      '');
+define('LIB_DIR',      'lib/');
 
-require(SUB_DIR . 'pukiwiki.php');
+/////////////////////////////////////////////////
+require(LIB_DIR . 'pukiwiki.php');
 ?>