diff options
author | mistic100 <mistic@piwigo.org> | 2012-11-25 10:41:02 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-11-25 10:41:02 +0000 |
commit | d7a9cbae9ad4770ee463019f7e513a0893880247 (patch) | |
tree | 1bd0dc37a6184d9f1a57a0cb31c84b31fda4ef15 /admin/include/plugins.class.php | |
parent | fb672b5c49a338c41961bf26a05b5806543c6f18 (diff) |
bug:2793 use "include_once" instead of "include" when including pclzip
git-svn-id: http://piwigo.org/svn/trunk@19167 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/plugins.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/plugins.class.php b/admin/include/plugins.class.php index 5d44179e6..a63274efe 100644 --- a/admin/include/plugins.class.php +++ b/admin/include/plugins.class.php @@ -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()) { |