prometheus.app
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:3k
- <?php
- $prometheus = new App( 'PROMETHEUS', '' );
- $prometheus->AddHandler(
- $temp = new AppHandler(
- 'LOGIN_MODE',
- './prometheus/templates/process_login.inc', /* include file */
- /* Globals needed */
- Array(
- 'app_server',
- 'template_obj',
- 'default',
- 'user_obj',
- 'user_admin_privileges_obj',
- 'session',
- 'session_id',
- 'current_application',
- 'c_application',
- 'browser_obj'
- ),
- '', /* function */
- Array(), /* AutoLoad objects */
- '' /* AutoLoad Optimize File */
- )
- );
- $prometheus->AddHandler(
- $temp = new AppHandler(
- 'LOGOUT',
- './prometheus/templates/process_logout.inc', /* include file */
- /* Globals needed */
- Array(
- 'app_server',
- 'template_obj',
- 'default',
- 'user_obj',
- 'user_domain_db',
- 'user_admin_privileges_obj',
- 'session',
- 'current_application',
- 'c_application',
- 'browser_obj',
- 'user',
- 'password',
- 'domain_id'
- ),
- '',
- Array(),
- ''
- )
- );
- $prometheus->AddHandler(
- $temp = new AppHandler(
- 'CHANGE_THEME_FRM',
- './prometheus/templates/theme/main.inc', /* include file */
- Array(
- 'app_server',
- 'template_obj',
- 'default',
- 'title',
- 'user_obj',
- 'user_admin_privileges_obj',
- 'session',
- 'current_application',
- 'c_application',
- 'form_mode',
- 'browser_obj',
- 'session_id',
- 'user_theme_db',
- 'user_theme_obj',
- 'user_setting_db'
- ),
- '', /* function */
- Array(), /* AutoLoad objects */
- '' /* AutoLoad Optimize File */
- )
- );
- $prometheus->AddHandler(
- $temp = new AppHandler(
- 'CHANGE_THEME',
- './prometheus/templates/theme/process_form.inc', /* include file */
- Array(
- 'app_server',
- 'template_obj',
- 'default',
- 'title',
- 'user_obj',
- 'user_admin_privileges_obj',
- 'session_id',
- 'current_application',
- 'c_application',
- 'user_theme',
- 'user_theme_db',
- 'user_theme_obj',
- 'browser_obj',
- 'form_mode'
- ),
- '', /* function */
- Array(), /* AutoLoad objects */
- '' /* AutoLoad Optimize File */
- )
- );
- $prometheus->AddDefaultHandler(
- $temp = new AppHandler(
- 'DEFAULT',
- './prometheus/templates/login/main.inc', /* include file */
- /* Globals needed */
- Array(
- 'app_server',
- 'template_obj',
- 'default',
- 'user_obj',
- 'session',
- 'user_admin_privileges_obj',
- 'user_domain_db',
- 'browser_obj'
- ),
- '', /* function */
- Array(), /* AutoLoad objects */
- '' /* AutoLoad Optimize File */
- )
- );
- $app_server->AppRegister( $prometheus );
- $app_server->default_app = 'PROMETHEUS';
- ?>