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
0e9cbce6
Commit
0e9cbce6
authored
Jan 16, 2008
by
Adrian Rossouw
Committed by
adrian
Jan 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix function calls
parent
2841de35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
provision_drupal.module
provision_drupal.module
+2
-2
No files found.
provision_drupal.module
View file @
0e9cbce6
...
...
@@ -23,7 +23,7 @@ function provision_drupal_provision_service() {
* Implentation of hook_provision_configure()
*/
function
provision_drupal_provision_configure
()
{
$template
=
_provision_default_template
();
$template
=
_provision_d
rupal_d
efault_template
();
$profiles
=
file_scan_directory
(
'./profiles'
,
'\.profile$'
,
array
(
'.'
,
'..'
,
'CVS'
),
0
,
TRUE
,
'name'
,
0
);
// Don't need to choose profile if only one available.
if
(
sizeof
(
$profiles
)
==
1
)
{
...
...
@@ -105,7 +105,7 @@ END;
*/
function
_provision_drupal_create_settings_file
(
$url
,
&
$data
)
{
$fp
=
fopen
(
"sites/
$url
/settings.php"
,
"w"
);
$text
=
variable_get
(
'provision_settings_template'
,
_provision_default_template
());
$text
=
variable_get
(
'provision_settings_template'
,
_provision_d
rupal_d
efault_template
());
fwrite
(
$fp
,
token_replace
(
$text
,
'site'
,
$data
));
fclose
(
$fp
);
...
...
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