From: Carsten K. <car...@us...> - 2001-12-26 10:40:16
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv30516/phpwiki/lib Modified Files: stdlib.php Log Message: New function BaseURL, outputs the correct BaseURL in html. (Also temporarily using BaseURL to provide a link to a new style-sheet, phpwiki-printer.css) Index: stdlib.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -r1.61 -r1.62 *** stdlib.php 2001/12/19 05:05:14 1.61 --- stdlib.php 2001/12/26 10:40:13 1.62 *************** *** 24,27 **** --- 24,31 ---- return SERVER_URL . DATA_PATH . "/$url"; } + + function BaseURL() { + return SERVER_URL . VIRTUAL_PATH . "/"; + } function WikiURL($pagename, $args = '', $get_abs_url = false) { |