/[LeafOK_CVS]/fenglin/manage/db_daily_process.php
ViewVC logotype

Annotation of /fenglin/manage/db_daily_process.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Wed Jun 30 05:13:04 2004 UTC (21 years, 8 months ago) by sysadm
Branch: MAIN
CVS Tags: fenglin_1-0-0-0_MIL
Changes since 1.1: +2 -10 lines
Add support for invoked as web page

1 sysadm 1.1 <?
2 sysadm 1.2 if (isset($_SERVER["argv"][0]))
3     chdir(substr($_SERVER["argv"][0],0,strrpos($_SERVER["argv"][0],"/")));
4 sysadm 1.1
5     require_once "./session_init.inc.php";
6    
7     //Set data for session
8     $_SESSION["MNG_uid"]=-1;
9     $_SESSION["MNG_priv"]["db_cleanup"]=1;
10     $_SESSION["MNG_priv"]["score_cacl"]=1;
11    
12     include "./db_cleanup.php";
13     include "./db_repair.php";
14    
15     include "./bbs_score_calculate.php";
16    
17     session_unset();
18     session_destroy();
19     ?>

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1