summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2008-04-01 21:40:32 +0200
committerChris Smith <chris.eureka@jalakai.co.uk>2008-04-01 21:40:32 +0200
commitf7589b08ca2beebd66b4faa07aa9e3dfbc0d726d (patch)
treeb6dc23796e61a2be12db6d6481b2c147305634c3 /lib/exe
parent197e18727f7040bd95955282099e937995897f5d (diff)
downloadrpg-f7589b08ca2beebd66b4faa07aa9e3dfbc0d726d.tar.gz
rpg-f7589b08ca2beebd66b4faa07aa9e3dfbc0d726d.tar.bz2
Update character class for template names to include dash
darcs-hash:20080401194032-f07c6-0ba243a05e6767a381dbacd67fbdc9d2437deeb5.gz
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/css.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 11ae2e828..0aa26de13 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -41,7 +41,7 @@ function css_out(){
break;
}
- $tpl = trim(preg_replace('/[^\w]+/','',$_REQUEST['t']));
+ $tpl = trim(preg_replace('/[^\w-]+/','',$_REQUEST['t']));
if($tpl){
$tplinc = DOKU_INC.'lib/tpl/'.$tpl.'/';
$tpldir = DOKU_BASE.'lib/tpl/'.$tpl.'/';