install.php

Constants

IA_ROOT

IA_ROOT = str_replace("\\", '/', dirname(__FILE__))

APP_URL

APP_URL = $_SERVER['HTTP_HOST'] . '/web/'

APP_STORE_URL

APP_STORE_URL = $_SERVER['HTTP_HOST'] . '/web'

APP_STORE_API

APP_STORE_API = $_SERVER['HTTP_HOST'] . '/api.php'

Functions

local_writeable()

local_writeable(  $dir) 

Parameters

$dir

local_config()

local_config() 

local_mkdirs()

local_mkdirs(  $path) 

Parameters

$path

run_sql()

run_sql(  $sql) 

Parameters

$sql

tpl_frame()

tpl_frame() 

tpl_install_license()

tpl_install_license() 

local_salt()

local_salt(  $length = 8) 

Parameters

$length

tpl_install_env()

tpl_install_env(  $ret = array()) 

Parameters

$ret

tpl_install_db()

tpl_install_db(  $error = '') 

Parameters

$error

tpl_install_finish()

tpl_install_finish() 

showerror()

showerror(  $errno,   $message = '') 

Parameters

$errno
$message