From a0e5ba78fcf29b7dd798e4f691068634e5355806 Mon Sep 17 00:00:00 2001 From: Josh Grams Date: Thu, 6 Aug 2009 08:09:27 -0400 Subject: [PATCH] wfpl_template: renamed to wfpl_tem_data to avoid conflict with old system. --- messages.php | 4 ++-- run.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/messages.php b/messages.php index 826cb6e..2d065e3 100644 --- a/messages.php +++ b/messages.php @@ -65,7 +65,7 @@ function display_messages(&$tem = NULL) { if(!$GLOBALS['wfpl_messages']) return; foreach($GLOBALS['wfpl_messages'] as $msg) { $sub = array('text' => $msg); - $GLOBALS['wfpl_template']['message'][] = $sub; - $GLOBALS['wfpl_template']['messages'] = TRUE; + $GLOBALS['wfpl_tem_data']['message'][] = $sub; + $GLOBALS['wfpl_tem_data']['messages'] = TRUE; } } diff --git a/run.php b/run.php index 4e56e98..3d0b1d4 100644 --- a/run.php +++ b/run.php @@ -116,7 +116,7 @@ function run_php($dest = false) { } } - $data = &$GLOBALS['wfpl_template']; + $data = &$GLOBALS['wfpl_tem_data']; $data['basename'] = $basename; if(function_exists('display_messages')) { display_messages(); -- 1.7.10.4