Changeset 17980

Show
Ignore:
Timestamp:
10/07/08 06:50:27 (2 months ago)
Author:
bergie
Message:

Disable limits on photo upload, fixes #327

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/org.routamc.photostream/handler/upload.php

    r17746 r17980  
    551551        $this->_content_topic->require_do('midgard:create'); 
    552552 
     553        //Disable limits, big uploads can take time and memory 
     554        @ini_set('memory_limit', -1); 
     555        @ini_set('max_execution_time', 0); 
     556 
    553557        // TODO: Figure out a solid way to detect the correct key in _FILES array based on the schema data 
    554558        if (   array_key_exists('photo_file', $_FILES)