Go to the source code of this file.
Namespaces | |
| namespace | Elgg |
Elgg CSS file. | |
Functions | |
| php_check_version () | |
| Check that the installed version of PHP meets the minimum requirements (currently 5.2 or greater). | |
| validate_platform () | |
| Validate the platform Elgg is being installed on. | |
| db_check_settings ($user, $password, $dbname, $host) | |
| Confirm the settings for the database. | |
| is_db_installed () | |
| Returns whether or not the database has been installed. | |
| is_installed () | |
| Returns whether or not other settings have been set. | |
| create_settings (array $vars, $in_file="engine/settings.example.php") | |
| Copy and create a new settings.php from settings.example.php, substituting the variables in $vars where appropriate. | |
| install_init () | |
| Initialisation for installation functions. | |
| create_settings | ( | array $ | vars, | |
| $ | in_file = "engine/settings.example.php" | |||
| ) |
Copy and create a new settings.php from settings.example.php, substituting the variables in $vars where appropriate.
$vars is an associate array of $key => $value, where $key is the variable text you wish to substitute (eg CONFIG_DBNAME will replace {{CONFIG_DBNAME}} in the settings file.
| array | $vars The array of vars | |
| string | $in_file Optional input file (if not settings.example.php) |
Definition at line 117 of file install.php.
| db_check_settings | ( | $ | user, | |
| $ | password, | |||
| $ | dbname, | |||
| $ | host | |||
| ) |
Confirm the settings for the database.
| string | $user | |
| string | $password | |
| string | $dbname | |
| string | $host |
Definition at line 55 of file install.php.
| install_init | ( | ) |
Initialisation for installation functions.
Definition at line 135 of file install.php.
| is_db_installed | ( | ) |
Returns whether or not the database has been installed.
Definition at line 74 of file install.php.
| is_installed | ( | ) |
Returns whether or not other settings have been set.
Definition at line 101 of file install.php.
| php_check_version | ( | ) |
Check that the installed version of PHP meets the minimum requirements (currently 5.2 or greater).
Definition at line 16 of file install.php.
| validate_platform | ( | ) |
Validate the platform Elgg is being installed on.
| ConfigurationException | if the validation fails. |
Definition at line 30 of file install.php.
1.6.3