From b1ebb7c7850cc84c5f0c6569335008a7d33b80fc Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 11 Jan 2012 20:52:17 +0000 Subject: bug 2554 php warning PHPWG_URL is not defined in page_tail.inc.php git-svn-id: http://piwigo.org/svn/trunk@12875 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_tail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/page_tail.php b/include/page_tail.php index 93f6219bf..203268c32 100644 --- a/include/page_tail.php +++ b/include/page_tail.php @@ -27,7 +27,7 @@ trigger_action('loc_begin_page_tail'); $template->assign( array( 'VERSION' => $conf['show_version'] ? PHPWG_VERSION : '', - 'PHPWG_URL' => PHPWG_URL, + 'PHPWG_URL' => defined('PHPWG_URL') ? PHPWG_URL : '', )); //--------------------------------------------------------------------- contact -- cgit v1.2.3