GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup of delete event
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
resource.kyberia.php
diff --git
a/wwwroot/inc/smarty/resource.kyberia.php
b/wwwroot/inc/smarty/resource.kyberia.php
index 3a08f08e1b4bfdbedc888278862a3254a0352139..71670c9d105017986ffd60731be6146e9a3774e0 100644
(file)
--- a/
wwwroot/inc/smarty/resource.kyberia.php
+++ b/
wwwroot/inc/smarty/resource.kyberia.php
@@
-3,7
+3,7
@@
function db_get_template ($tpl_name, &$tpl_source, &$smarty_obj) {
global $db,$error,$node, $error_messages;
function db_get_template ($tpl_name, &$tpl_source, &$smarty_obj) {
global $db,$error,$node, $error_messages;
- $add_template_id =
$tpl_name
;
+ $add_template_id =
preg_replace('/\.tpl$/', '', $tpl_name)
;
if (!is_numeric($add_template_id)) {
$error = $error_messages['NOT_NUMERIC'];
if (!is_numeric($add_template_id)) {
$error = $error_messages['NOT_NUMERIC'];
This page took
0.116183 seconds
and
4
git commands to generate.