diff options
author | mistic100 <mistic@piwigo.org> | 2012-11-25 10:42:16 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-11-25 10:42:16 +0000 |
commit | 4fab3d9922159d08fb681654cd4217f8278a32ff (patch) | |
tree | 63b65db279dcac4c91067010289b8de3298240a4 /admin/include/photos_add_direct_process.inc.php | |
parent | 25d2ac809f6845d73d99f9c0ead4095962e43231 (diff) |
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
Diffstat (limited to 'admin/include/photos_add_direct_process.inc.php')
-rw-r--r-- | admin/include/photos_add_direct_process.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/photos_add_direct_process.inc.php b/admin/include/photos_add_direct_process.inc.php index dc4ae4827..c3271eea1 100644 --- a/admin/include/photos_add_direct_process.inc.php +++ b/admin/include/photos_add_direct_process.inc.php @@ -82,7 +82,7 @@ if (isset($_GET['processed'])) ); define('PCLZIP_TEMPORARY_DIR', $upload_dir.'/'); - include(PHPWG_ROOT_PATH.'admin/include/pclzip.lib.php'); + include_once(PHPWG_ROOT_PATH.'admin/include/pclzip.lib.php'); $zip = new PclZip($archive_path); if ($list = $zip->listContent()) { |