This repository was archived by the owner on Jul 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 99
1010// set the default time zone, just in case
1111date_default_timezone_set ('America/New_York ' );
12+
1213// define some application constants
1314if (!defined ('APPLICATION_ENV ' )) {
1415 define ('APPLICATION_ENV ' , 'production ' );
1516}
16-
1717define ('APPLICATION_PATH ' , dirname (__DIR__ ));
18- chdir ( APPLICATION_PATH );
18+ define ( ' HRPHP_URL ' , ' http://hrphp.org ' );
1919
2020// load dependencies!
2121require APPLICATION_PATH . '/vendor/autoload.php ' ;
Original file line number Diff line number Diff line change 1010use Hrphp \Cli \Command \PingCommand ;
1111use GuzzleHttp \Client as GuzzleClient ;
1212
13- // portal URL
14- define ('HRPHP_URL ' , 'http://hrphp.org ' );
15-
16- // configure the application
1713try {
1814 $ client = new GuzzleClient ();
1915 $ application = new Application ('HRPHP CLI ' , '@package_version@ ' );
Original file line number Diff line number Diff line change 1111define ('APPLICATION_ENV ' , 'test ' );
1212
1313define ('APPLICATION_PATH ' , dirname (__DIR__ ));
14- chdir ( APPLICATION_PATH );
14+ define ( ' HRPHP_URL ' , ' http://hrphp.org ' );
1515
1616require 'vendor/autoload.php ' ;
1717require 'src/config/application.php ' ;
You can’t perform that action at this time.
0 commit comments