kennyt Wed Jan 21 11:07:17 2004 EDT
Modified files: /livedocs livedoc.php Log: CS :) http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.74&r2=1.75&ty=u Index: livedocs/livedoc.php diff -u livedocs/livedoc.php:1.74 livedocs/livedoc.php:1.75 --- livedocs/livedoc.php:1.74 Wed Jan 21 10:38:46 2004 +++ livedocs/livedoc.php Wed Jan 21 11:07:17 2004 @@ -18,12 +18,12 @@ // | Generate an HTML version of a phpdoc/docbook page on the fly | // +----------------------------------------------------------------------+ // -// $Id: livedoc.php,v 1.74 2004/01/21 15:38:46 kennyt Exp $ +// $Id: livedoc.php,v 1.75 2004/01/21 16:07:17 kennyt Exp $ define('LIVEDOC_SOURCE', dirname(__FILE__)); -include LIVEDOC_SOURCE.'/common.php'; -include LIVEDOC_SOURCE.'/xml_classes.php'; -include LIVEDOC_SOURCE.'/style_mapping.php'; +include LIVEDOC_SOURCE . '/common.php'; +include LIVEDOC_SOURCE . '/xml_classes.php'; +include LIVEDOC_SOURCE . '/style_mapping.php'; // Handle the case where if (!isset($_GET['q'])) { @@ -31,7 +31,7 @@ // Else, we display a page with the closest matches and we stop the script. // If something goes wrong with the database, $current_page will default // to some value. - include './error.php'; + include LIVEDOC_SOURCE . '/error.php'; } else { $current_page = preg_replace(IDREG, '', $_GET['q']); } @@ -54,7 +54,7 @@ ); if (isset($_GET['s'])) { - include './livedoc-index.php'; + include LIVEDOC_SOURCE . '/livedoc-index.php'; exit; }