Skip to content

Commit

Permalink
Change chdir('public') to chdir($public)
Browse files Browse the repository at this point in the history
  • Loading branch information
titounnes committed Oct 10, 2018
1 parent c1e2d88 commit b82c0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spark
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $public = trim($paths->publicDirectory, '/');
define('FCPATH', realpath($public).DIRECTORY_SEPARATOR);

// Ensure the current directory is pointing to the front controller's directory
chdir('public');
chdir($public);

$app = require rtrim($paths->systemDirectory,'/ ').'/bootstrap.php';

Expand Down

0 comments on commit b82c0f4

Please sign in to comment.