Commit cbe26d01 authored by omega8cc's avatar omega8cc

Fix for mysterious warning "Could not create directory ." on Hostmaster site Verify.

parent ce66c80f
......@@ -185,7 +185,7 @@ class Provision_Config {
function write() {
$filename = $this->filename();
// Make directory structure if it does not exist.
if (!provision_file()->exists(dirname($filename))->status()) {
if ($filename && !provision_file()->exists(dirname($filename))->status()) {
->succeed('Created directory @path.')
->fail('Could not create directory @path.');
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