Skip to content

Commit

Permalink
remove local memory limit restriction - see also changeset:248
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/branches/1.8@249 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Jan 25, 2012
1 parent 687dca4 commit 35f573f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website_code/php/scorm/export.php
Expand Up @@ -24,18 +24,18 @@
$delete_folder_array = array();

ini_set('max_execution_time', 300);
ini_set('memory_limit','64M');

if(is_numeric($_GET['template_id'])){
$_GET['template_id'] = (int) $_GET['template_id'];

$proceed = false;

if(is_template_exportable(mysql_real_escape_string($_GET['template_id']))){
if(is_template_exportable($_GET['template_id'])){

$proceed = true;

}else{
if(is_user_creator(mysql_real_escape_string($_GET['template_id']))||is_user_admin()){
if(is_user_creator($_GET['template_id'])||is_user_admin()){
$proceed = true;
}

Expand Down

0 comments on commit 35f573f

Please sign in to comment.