Emmanuel BENOîT
1271afd1d8
A very basic installer will appear when accessing the home page if there are no users in the database. It allows the initial user to be created.
25 lines
686 B
PHP
25 lines
686 B
PHP
<?
|
|
|
|
$package[ 'requires' ][] = 'form';
|
|
$package[ 'requires' ][] = 'hub-page';
|
|
|
|
$package[ 'files' ][] = 'dao_users';
|
|
$package[ 'files' ][] = 'controllers';
|
|
$package[ 'files' ][] = 'pages';
|
|
|
|
$package[ 'extras' ][] = 'AuthenticatedPage';
|
|
|
|
$package[ 'ctrls' ][] = 'check_session';
|
|
$package[ 'ctrls' ][] = 'home_page';
|
|
$package[ 'ctrls' ][] = 'install';
|
|
$package[ 'ctrls' ][] = 'log_in';
|
|
$package[ 'ctrls' ][] = 'log_in_form';
|
|
$package[ 'ctrls' ][] = 'logged_out';
|
|
$package[ 'ctrls' ][] = 'logout';
|
|
|
|
$package[ 'pages' ][] = 'tasks_home';
|
|
$package[ 'pages' ][] = 'tasks_login';
|
|
$package[ 'pages' ][] = 'tasks_logout';
|
|
$package[ 'pages' ][] = 'tasks_install';
|
|
|
|
$package[ 'daos' ][] = 'users';
|