From: Josh Grams Date: Thu, 6 Aug 2009 12:09:27 +0000 (-0400) Subject: wfpl_template: renamed to wfpl_tem_data to avoid conflict with old system. X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=a0e5ba78fcf29b7dd798e4f691068634e5355806 wfpl_template: renamed to wfpl_tem_data to avoid conflict with old system. --- 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();