Skip to content

Commit 7ee828f

Browse files
committed
added ini_sets to padawan and padawan-server
1 parent cd30c06 commit 7ee828f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

bin/padawan

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env php
22
<?php
33

4+
set_time_limit(0);
5+
ini_set('memory_limit', '2048M');
6+
ini_set('xdebug.max_nesting_level', '9000');
7+
ini_set('display_errors', 'stderr');
8+
49
$autoloaders = [
510
__DIR__ . '/../../../autoload.php',
611
__DIR__ . '/../vendor/autoload.php',
@@ -17,10 +22,6 @@ foreach ($autoloaders as $autoloader) {
1722

1823
require(AUTOLOAD_PATH);
1924

20-
set_time_limit(0);
21-
ini_set('memory_limit', '2048M');
22-
ini_set('display_errors', 'stderr');
23-
2425
$arguments = [];
2526
$app = new \Application\CLI\App(false);
2627
$app->handle(array_slice($argv, 1), null, []);

bin/padawan-server

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env php
22
<?php
33

4+
set_time_limit(0);
5+
ini_set('memory_limit', '2048M');
6+
ini_set('xdebug.max_nesting_level', '9000');
7+
ini_set('display_errors', 'stderr');
8+
49
use React\Http\Response;
510
use React\Http\Request;
611
use Application\HTTP\App;

0 commit comments

Comments
 (0)