Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
01074a6e
Commit
01074a6e
authored
Aug 18, 2008
by
tbrehm
Browse files
Added missing variables in installer.
parent
b5f64f66
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
01074a6e
...
...
@@ -115,6 +115,7 @@ class installer_base {
public
function
configure_database
()
{
global
$conf
;
$cf
=
$conf
[
'mysql'
];
// make $conf['mysql'] more accessible
//** Create the database
if
(
!
$this
->
db
->
query
(
'CREATE DATABASE IF NOT EXISTS '
.
$cf
[
'database'
]))
{
...
...
@@ -147,6 +148,7 @@ class installer_base {
public
function
add_database_server_record
()
{
global
$conf
;
$cf
=
$conf
[
'mysql'
];
// make $conf['mysql'] more accessible
if
(
$cf
[
'host'
]
==
'localhost'
)
{
...
...
@@ -181,7 +183,9 @@ class installer_base {
//** writes postfix configuration files
private
function
process_postfix_config
(
$configfile
)
{
{
global
$conf
;
$config_dir
=
$conf
[
'postfix'
][
'config_dir'
]
.
'/'
;
$full_file_name
=
$config_dir
.
$configfile
;
//* Backup exiting file
...
...
@@ -199,7 +203,9 @@ class installer_base {
public
function
configure_jailkit
()
{
$cf
=
$conf
[
'jailkit'
];
global
$conf
;
$cf
=
$conf
[
'jailkit'
];
$config_dir
=
$cf
[
'config_dir'
];
$jk_init
=
$cf
[
'jk_init'
];
$jk_chrootsh
=
$cf
[
'jk_chrootsh'
];
...
...
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