Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
ff15eebb
Commit
ff15eebb
authored
Nov 28, 2008
by
anarcat
Committed by
anarcat
Nov 28, 2008
Browse files
do not make settings.php executable, it's not necessary
parent
0468eed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/provision_drupal.module
View file @
ff15eebb
...
...
@@ -69,7 +69,7 @@ function _provision_drupal_default_template() {
function
_provision_drupal_create_settings_file
(
$url
,
&
$data
)
{
provision_log
(
'notice'
,
t
(
"Generate settings.php file"
));
if
(
provision_path
(
"exists"
,
"sites/
$url
/settings.php"
))
{
provision_path
(
"chmod"
,
"sites/
$url
/settings.php"
,
0
75
0
,
provision_path
(
"chmod"
,
"sites/
$url
/settings.php"
,
0
64
0
,
t
(
'Changed permissions of settings.php to @confirm'
),
t
(
'Could not change permissions of settings.php to @confirm'
));
}
...
...
@@ -80,7 +80,7 @@ function _provision_drupal_create_settings_file($url, &$data) {
fclose
(
$fp
);
# Change the permissions of the file
provision_path
(
"chmod"
,
"sites/
$url
/settings.php"
,
0
55
0
,
provision_path
(
"chmod"
,
"sites/
$url
/settings.php"
,
0
44
0
,
t
(
'Changed permissions of settings.php to @confirm'
),
t
(
'Could not change permissions of settings.php to @confirm'
));
provision_path
(
"chgrp"
,
"sites/
$url
/settings.php"
,
PROVISION_WEB_GROUP
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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