[ Index ] |
PHP Cross Reference of Eventum |
[Summary view] [Print] [Text view]
1 <?php 2 /* vim: set expandtab tabstop=4 shiftwidth=4 encoding=utf-8: */ 3 // +----------------------------------------------------------------------+ 4 // | Eventum - Issue Tracking System | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (c) 2003, 2004, 2005, 2006, 2007 MySQL AB | 7 // | | 8 // | This program is free software; you can redistribute it and/or modify | 9 // | it under the terms of the GNU General Public License as published by | 10 // | the Free Software Foundation; either version 2 of the License, or | 11 // | (at your option) any later version. | 12 // | | 13 // | This program is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 // | GNU General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU General Public License | 19 // | along with this program; if not, write to: | 20 // | | 21 // | Free Software Foundation, Inc. | 22 // | 59 Temple Place - Suite 330 | 23 // | Boston, MA 02111-1307, USA. | 24 // +----------------------------------------------------------------------+ 25 // | Authors: João Prado Maia <jpm@mysql.com> | 26 // +----------------------------------------------------------------------+ 27 // 28 // @(#) $Id: monitor.php 3298 2007-04-11 22:37:59Z glen $ 29 30 require_once(dirname(__FILE__) . "/../init.php"); 31 require_once (APP_INC_PATH . "class.monitor.php"); 32 33 // the disk partition in which eventum is stored in 34 $partition = '/'; 35 36 Monitor::checkDiskspace($partition); 37 38 // the owner, group and filesize settings should be changed to match the correct permissions on your server. 39 $required_files = array( 40 APP_PATH . 'config/config.php' => array( 41 'check_owner' => true, 42 'owner' => 'apache', 43 'check_group' => true, 44 'group' => 'apache', 45 'check_permission' => true, 46 'permission' => 755, 47 ), 48 APP_PATH . 'config/setup.php' => array( 49 'check_owner' => true, 50 'owner' => 'apache', 51 'check_group' => true, 52 'group' => 'apache', 53 'check_permission' => true, 54 'permission' => 750, 55 'check_filesize' => true, 56 'filesize' => 1024 57 ), 58 ); 59 Monitor::checkConfiguration($required_files); 60 Monitor::checkDatabase(); 61 Monitor::checkMailQueue(); 62 Monitor::checkIRCBot();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 19 21:21:33 2007 | Cross-referenced by PHPXref 0.7 |