[geeklog-hg] geeklog: Fixed a bug for changeset ac56c2abe522 that added cachi...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Sep 16 20:57:15 EDT 2013
changeset 9301:61645d55e776
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/61645d55e776
user: Tom <websitemaster at cogeco.net>
date: Mon Sep 16 20:56:20 2013 -0400
description:
Fixed a bug for changeset ac56c2abe522 that added caching to staticpages. Autotag staticpage_content now returns a page that executes php
diffstat:
plugins/staticpages/functions.inc | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r 791f98f95c0c -r 61645d55e776 plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc Mon Sep 16 06:20:03 2013 -0400
+++ b/plugins/staticpages/functions.inc Mon Sep 16 20:56:20 2013 -0400
@@ -661,11 +661,6 @@
'sp_id' => $page,
'mode' => $mode
);
- if ($mode == 'autotag') {
- // tells service that it is okay to retrieve a template staticpage since
- // requested by another staticpage or autotag.
- $args['template'] = true;
- }
$svc_msg = array();
if (PLG_invokeService('staticpages', 'get', $args, $retval, $svc_msg) == PLG_RET_OK) {
@@ -1743,7 +1738,6 @@
}
if ($_SP_CONF['allow_php'] == 1) {
-
// Check for type (ie html or php)
if ($sp_php == 1) {
$sp_content = eval($sp_content);
More information about the geeklog-cvs
mailing list