Elgg  Version 1.11
Variables
sample_installer.php File Reference

Go to the source code of this file.

Variables

 $enabled = false
 Sample cli installer script. More...
 
 $params
 
if(!$enabled) if(PHP_SAPI!== 'cli') $elggRoot = dirname(dirname(__DIR__))
 
 $installer = new ElggInstaller()
 
 if (is_writable(__FILE__))
 

Variable Documentation

if (!$enabled) if (PHP_SAPI!== 'cli') $elggRoot = dirname(dirname(__DIR__))

Definition at line 45 of file sample_installer.php.

$enabled = false

Sample cli installer script.

Definition at line 8 of file sample_installer.php.

$installer = new ElggInstaller()

Definition at line 49 of file sample_installer.php.

$params
Initial value:
= array(
'dbuser' => '',
'dbpassword' => '',
'dbname' => '',
'sitename' => '',
'siteemail' => '',
'wwwroot' => '',
'dataroot' => '',
'displayname' => '',
'email' => '',
'username' => '',
'password' => '',
)

Definition at line 11 of file sample_installer.php.

if(is_writable(__FILE__))

Definition at line 56 of file sample_installer.php.