1. dojo
  2. util

Commits

Tom Trenka  committed cf41059

Minor fixes to the generate script: fix the error message that it begins with, and up the memory to 256M. Refs #12223

  • Participants
  • Parent commits 427e85c
  • Branches default

Comments (0)

Files changed (1)

File docscripts/generate.php

View file
  • Ignore whitespace
 # php generate.php --outfile=custom-api custom
 # -- Runs the custom module, serializes to custom-api.xml
 
-if ($_SERVER['HTTP_HOST']) {
+if (isset($_SERVER['HTTP_HOST'])) {
   die('Run from command line');
 }
 
-ini_set('memory_limit', '128M');
+ini_set('memory_limit', '256M');
 ini_set('display_errors', 1);
 error_reporting(E_ALL ^ E_NOTICE);
 $debug = true;
 
 // * Assemble parent/child relationships
 
-?>
+?>