Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
cbe26d01
Commit
cbe26d01
authored
Sep 04, 2014
by
Grazyna Jaworska
Browse files
Fix for mysterious warning "Could not create directory ." on Hostmaster site Verify.
parent
ce66c80f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Provision/Config.php
View file @
cbe26d01
...
...
@@ -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
())
{
provision_file
()
->
mkdir
(
dirname
(
$filename
))
->
succeed
(
'Created directory @path.'
)
->
fail
(
'Could not create directory @path.'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment