Skip to content

Commit

Permalink
added ini_sets to padawan and padawan-server
Browse files Browse the repository at this point in the history
  • Loading branch information
mkusher committed Sep 9, 2015
1 parent cd30c06 commit 7ee828f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bin/padawan
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env php
<?php

set_time_limit(0);
ini_set('memory_limit', '2048M');
ini_set('xdebug.max_nesting_level', '9000');
ini_set('display_errors', 'stderr');

$autoloaders = [
__DIR__ . '/../../../autoload.php',
__DIR__ . '/../vendor/autoload.php',
Expand All @@ -17,10 +22,6 @@ foreach ($autoloaders as $autoloader) {

require(AUTOLOAD_PATH);

set_time_limit(0);
ini_set('memory_limit', '2048M');
ini_set('display_errors', 'stderr');

$arguments = [];
$app = new \Application\CLI\App(false);
$app->handle(array_slice($argv, 1), null, []);
5 changes: 5 additions & 0 deletions bin/padawan-server
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env php
<?php

set_time_limit(0);
ini_set('memory_limit', '2048M');
ini_set('xdebug.max_nesting_level', '9000');
ini_set('display_errors', 'stderr');

use React\Http\Response;
use React\Http\Request;
use Application\HTTP\App;
Expand Down

0 comments on commit 7ee828f

Please sign in to comment.