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
This commit is contained in:
mistic100
2012-11-25 10:42:16 +00:00
parent 25d2ac809f
commit 4fab3d9922
4 changed files with 4 additions and 4 deletions

View File

@@ -460,7 +460,7 @@ DELETE FROM ' . PLUGINS_TABLE . ' WHERE id=\'' . $plugin_id . '\'';
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())
{