Elgg  Version 1.11
install.php
Go to the documentation of this file.
1 <?php
9 // check for PHP < 5.4 before we do anything else
10 if (version_compare(PHP_VERSION, '5.4.0', '<')) {
11  echo "Your server's version of PHP (" . PHP_VERSION . ") is too old to run Elgg.\n";
12  exit;
13 }
14 
15 $autoload_path = __DIR__ . "/vendor/autoload.php";
17 if (!$autoload_available) {
18  die("Couldn't include '$autoload_path'. Did you run `composer install`?");
19 }
20 
22 
23 $step = get_input('step', 'welcome');
24 $installer->run($step);
get_input($variable, $default=null, $filter_result=true)
Get some input from variables passed submitted through GET or POST.
Definition: input.php:27
$autoload_available
Definition: install.php:16
$step
Definition: install.php:23
exit
Definition: reorder.php:12
elgg echo
Translates a string.
Definition: languages.js:43
if(version_compare(PHP_VERSION, '5.4.0', '<')) $autoload_path
Definition: install.php:15
if(!$autoload_available) $installer
Definition: install.php:21