Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv1077/lib
Modified Files:
stdlib.php
Log Message:
Revert to working version until theme support becomes functional.
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** stdlib.php 2001/11/26 06:23:42 1.45
--- stdlib.php 2001/11/28 20:12:48 1.46
***************
*** 20,27 ****
function DataURL($url) {
- global $theme;
if (preg_match('@^(\w+:|/)@', $url))
return $url;
return SERVER_URL . DATA_PATH . "/templates/$theme/$url";
}
--- 20,31 ----
function DataURL($url) {
if (preg_match('@^(\w+:|/)@', $url))
return $url;
+ return SERVER_URL . DATA_PATH . "/$url";
+ // Beginnings of theme support by Carsten Klapp:
+ /*
+ global $theme;
return SERVER_URL . DATA_PATH . "/templates/$theme/$url";
+ */
}
|