Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
provision
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
provision
Commits
ff15eebb
Commit
ff15eebb
authored
Nov 28, 2008
by
anarcat
Committed by
anarcat
Nov 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not make settings.php executable, it's not necessary
parent
0468eed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
platform/provision_drupal.module
platform/provision_drupal.module
+2
-2
No files found.
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