Changeset View
Changeset View
Standalone View
Standalone View
branches/1.2.x/install.php
Show All 27 Lines | |||||
$application->Init(); | $application->Init(); | ||||
if ( $application->RecallVar('user_id') != USER_ROOT ) { | if ( $application->RecallVar('user_id') != USER_ROOT ) { | ||||
die('restricted access!'); | die('restricted access!'); | ||||
} | } | ||||
$toolkit->RunSQL('/' . $module_folder . '/install/install_schema.sql'); | $toolkit->RunSQL('/' . $module_folder . '/install/install_schema.sql'); | ||||
$toolkit->RunSQL('/' . $module_folder . '/install/install_data.sql'); | $toolkit->RunSQL('/' . $module_folder . '/install/install_data.sql'); | ||||
$toolkit->ImportLanguage('/' . $module_folder . '/install/english'); | $toolkit->ImportLanguage('/' . $module_folder . '/install/english', isset($constants_file)); | ||||
$toolkit->finalizeModuleInstall($module_folder, false); | $toolkit->finalizeModuleInstall($module_folder, false); | ||||
No newline at end of file |