aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-01-13 10:18:49 +0000
committerplegall <plg@piwigo.org>2005-01-13 10:18:49 +0000
commit0737f91b1934d475fc2bafbc2736d38fd159cdf7 (patch)
treeb40de109b025a04fad35b1aa6f2ff8c9ed483300 /include/functions.inc.php
parent57475d91bec00849987572b2929448d679b5c445 (diff)
- use template->parse instead of pparse. (exceptions for install.php and
upgrade.php) - bug fixed : queries time and count were not displayed on a redirection git-svn-id: http://piwigo.org/svn/trunk@688 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 485d490b5..9b4678f65 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -543,17 +543,18 @@ function pwg_debug( $string )
*/
function redirect( $url )
{
- global $user, $template, $lang_info, $conf, $lang, $t2;
+ global $user, $template, $lang_info, $conf, $lang, $t2, $page;
// $refresh, $url_link and $title are required for creating an automated
// refresh page in header.tpl
$refresh = 0;
$url_link = $url;
$title = 'redirection';
+
include( PHPWG_ROOT_PATH.'include/page_header.php' );
$template->set_filenames( array( 'redirect' => 'redirect.tpl' ) );
- $template->pparse('redirect');
+ $template->parse('redirect');
include( PHPWG_ROOT_PATH.'include/page_tail.php' );