- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
33 lines (29 loc) · 685 Bytes
/
index.php
File metadata and controls
33 lines (29 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/*
* OPMS
* index.php
* Created on 2006/07/10 by Chen YuRen (yrchen@ATCity.org)
*
* $LastChangedDate: 2007-01-21T12:44:58.332782Z $
* $LastChangedRevision: 7011 $
* $LastChangedBy: yrchen $
* $HeadURL: /local/opms/trunk/index.php $
*/
// yrchen.061015: Set flag that this is a parent file.
define( '_OPMSEXEC', 1 );
require_once('init.php');
$page = new Page();
$page->assign('user_logined', "");
try
{
check_login();
$page->assign('user_logined', "true");
}
catch (LoginException $e)
{
}
$page->assign('page_redirect', "main.php");
$timer->stop();
$page->assign('total_time', sprintf("%2.3f", $timer->timeElapsed()));
$page->display('standard/index.tpl');
?>