Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit 9bda179

Browse files
author
guillermo.fisher
committed
Removed chdir()
1 parent 76da706 commit 9bda179

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bin/hrphp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99

1010
// set the default time zone, just in case
1111
date_default_timezone_set('America/New_York');
12+
1213
// define some application constants
1314
if (!defined('APPLICATION_ENV')) {
1415
define('APPLICATION_ENV', 'production');
1516
}
16-
1717
define('APPLICATION_PATH', dirname(__DIR__));
18-
chdir(APPLICATION_PATH);
1918

2019
// load dependencies!
2120
require APPLICATION_PATH . '/vendor/autoload.php';

0 commit comments

Comments
 (0)