[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16380] alternative location::unzip
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16380] alternative location::unzip |
Date: |
Thu, 23 Feb 2017 07:42:56 -0500 (EST) |
Revision: 16380
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16380
Author: sigurdne
Date: 2017-02-23 07:42:56 -0500 (Thu, 23 Feb 2017)
Log Message:
-----------
alternative location::unzip
Modified Paths:
--------------
trunk/property/inc/import/class.import_component_files.inc.php
Modified: trunk/property/inc/import/class.import_component_files.inc.php
===================================================================
--- trunk/property/inc/import/class.import_component_files.inc.php
2017-02-23 12:12:30 UTC (rev 16379)
+++ trunk/property/inc/import/class.import_component_files.inc.php
2017-02-23 12:42:56 UTC (rev 16380)
@@ -11,7 +11,8 @@
$this->db = & $GLOBALS['phpgw']->db;
$this->fakebase = '/temp_files_components';
- $this->path_upload_dir =
$GLOBALS['phpgw_info']['server']['files_dir'] . $this->fakebase . '/';
+// $this->path_upload_dir =
$GLOBALS['phpgw_info']['server']['files_dir'] . $this->fakebase . '/';
+ $this->path_upload_dir =
'/data/portico/temp_files_components/';
$this->location_code = phpgw::get_var('location_code');
$this->location_item_id =
phpgw::get_var('location_item_id');
@@ -307,7 +308,7 @@
private function _un_zip( $file, $dir )
{
@set_time_limit(5 * 60);
-
+/*
$zip = new ZipArchive;
if ($zip->open($file) === TRUE)
{
@@ -320,7 +321,8 @@
$this->receipt['error'][] = array('msg' =>
lang('Failed opening file %1', $file));
return false;
}
-/*
+ */
+
$zip = new ZipArchive;
if ($zip->open($file) === TRUE)
{
@@ -344,7 +346,6 @@
$this->receipt['error'][] = array('msg' =>
lang('Failed opening file %1', $file));
return false;
}
- */
}
private function _un_rar( $file, $dir )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16380] alternative location::unzip,
sigurdne <=