3 define('LIFE_IS_GOOD', 'YES');
5 if(file_exists('../settings.php')){
6 echo 'The system has already been installed.';
10 include_once('../includes/modules.inc.php');
11 include_once('../includes/database.inc.php');
12 include_once('../includes/core.inc.php');
14 //Special function used in the system installation may go to install.php
15 function install_core_install(){
17 $core_modules = modules_required_modules();
19 foreach($core_modules as $module){
20 echo '../modules/'.$module.'/'.$module;
21 include_once('../modules/'.$module.'/'.$module.'.install');
24 install_core_install();
26 <form name
="install_form" action
="#" method
="post">
33 <td
>Database User Name
35 <td
><input type
="text" value
="root" name
="db_user">
41 <td
><input type
="password" value
="" name
="db_server">
47 <td
><input type
="text" value
="localhost" name
="db_server">
53 <td
><input type
="text" value
="asterix" name
="admin_name">
59 <td
><input type
="password" value
="" name
="admin_password">
63 <td
>Admin Password Again
!
65 <td
><input type
="password" value
="" name
="admin_password_2">
71 <td
><input type
="submit" value
="Process" name
="install_system">