File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- use Laravel \Octane \Octane ;
4-
53ini_set ('display_errors ' , 'stderr ' );
64
75$ _ENV ['APP_RUNNING_IN_CONSOLE ' ] = false ;
2018$ basePath = $ _SERVER ['APP_BASE_PATH ' ] ?? $ _ENV ['APP_BASE_PATH ' ] ?? $ serverState ['octaneConfig ' ]['base_path ' ] ?? null ;
2119
2220if (! is_string ($ basePath )) {
23- die ('Cannot find application base path. ' );
21+ exit ('Cannot find application base path. ' );
2422
2523 exit (11 );
2624}
4038$ vendorDir = $ _ENV ['COMPOSER_VENDOR_DIR ' ] ?? "{$ basePath }/vendor " ;
4139
4240if (! is_file ($ autoload_file = "{$ vendorDir }/autoload.php " )) {
43- die ("Composer autoload file was not found. Did you install the project's dependencies? " );
41+ exit ("Composer autoload file was not found. Did you install the project's dependencies? " );
4442
4543 exit (10 );
4644}
You can’t perform that action at this time.
0 commit comments