From 4fab3d9922159d08fb681654cd4217f8278a32ff Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 25 Nov 2012 10:42:16 +0000 Subject: Merged revision(s) r19167 from trunk: bug:2793 use "include_once" instead of "include" when including pclzip git-svn-id: http://piwigo.org/svn/branches/2.4@19168 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/languages.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include/languages.class.php') diff --git a/admin/include/languages.class.php b/admin/include/languages.class.php index 7ef3bc6b1..460568833 100644 --- a/admin/include/languages.class.php +++ b/admin/include/languages.class.php @@ -319,7 +319,7 @@ UPDATE '.USER_INFOS_TABLE.' if ($handle = @fopen($archive, 'wb') and fetchRemote($url, $handle, $get_data)) { fclose($handle); - include(PHPWG_ROOT_PATH.'admin/include/pclzip.lib.php'); + include_once(PHPWG_ROOT_PATH.'admin/include/pclzip.lib.php'); $zip = new PclZip($archive); if ($list = $zip->listContent()) { -- cgit v1.2.3