Skip to content

Commit

Permalink
Merge pull request #1305 from titounnes/patch-5
Browse files Browse the repository at this point in the history
Change chdir('public') to chdir($public)
  • Loading branch information
lonnieezell committed Oct 11, 2018
2 parents 228c7b2 + b82c0f4 commit a5b9917
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 a5b9917

Please sign in to comment.