Changeset 57416
- Timestamp:
- 04/07/08 15:09:33 (2 months ago)
- Location:
- modules/marketdemandmap/trunk/code/controller
- Files:
-
- 2 modified
-
DemandMap.php (modified) (1 diff)
-
SupplyImporter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/marketdemandmap/trunk/code/controller/DemandMap.php
r57372 r57416 71 71 parent::init(); 72 72 73 // set max_allowed_packet to 32MB to allow for large binary imports74 DB::query('SET GLOBAL max_allowed_packet=32*1024*1024;');75 76 73 if(empty(DemandMap::$google_api_key)) user_error('Please provide a Google Maps API Key', E_USER_ERROR); 77 74 -
modules/marketdemandmap/trunk/code/controller/SupplyImporter.php
r57336 r57416 90 90 set_time_limit(60*10); 91 91 ini_set('memory_limit', '700M'); 92 93 // set max_allowed_packet to 32MB to allow for large binary imports 94 DB::query('SET GLOBAL max_allowed_packet=32*1024*1024;'); 95 92 96 93 $fileSHP = new File(); 97 94 $fileSHP->loadUploaded($_FILES['_ShapeFileSHP'], $this->tmpFolder);
