From b82c0f4bae496696ce4ac2756db616a57ff5f9d3 Mon Sep 17 00:00:00 2001 From: Harjito Date: Wed, 10 Oct 2018 10:52:23 +0700 Subject: [PATCH] Change chdir('public') to chdir($public) --- spark | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark b/spark index 087964bfc8a9..c2e97ea0c6e5 100755 --- a/spark +++ b/spark @@ -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';