Commit 925fcae8 authored by Jon Pugh's avatar Jon Pugh

Create the config/provision directory after checking that config_path is...

Create the config/provision directory after checking that config_path is writable and it doesn't exist.
parent 18f750b5
......@@ -86,6 +86,9 @@ class Config implements ConfigurationInterface
"There is an error with your configuration. The folder set to 'config_path' ({$this->config['config_path']}) is not writable. Fix this or change the config_path value in the file {$this->config_path}."
);
}
elseif (!file_exists($this->config['config_path'] . '/provision')) {
mkdir($this->config['config_path'] . '/provision');
}
// Ensure that script_user is the user.
$real_script_user = $this->getScriptUser();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment