Author: glen                         Date: Tue Feb 22 21:06:03 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes for eventum-monitor

---- Files affected:
SOURCES:
   eventum-paths.patch (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SOURCES/eventum-paths.patch
diff -u SOURCES/eventum-paths.patch:1.13 SOURCES/eventum-paths.patch:1.14
--- SOURCES/eventum-paths.patch:1.13    Tue Feb 22 21:07:54 2005
+++ SOURCES/eventum-paths.patch Tue Feb 22 22:05:58 2005
@@ -292,3 +292,51 @@
 \ No newline at end of file
 +
 +?>
+--- class.monitor.php  2005-02-22 21:50:49.000000000 +0200
++++ ./misc/class.monitor.php   2005-02-22 23:04:50.000000000 +0200
+@@ -100,21 +100,29 @@
+     function checkConfiguration()
+     {
+         $required_files = array(
+-            APP_PATH . 'config.inc.php' => array(
++            '/etc/eventum/config.php' => array(
+                 'check_owner'      => true,
+-                'owner'            => 'apache',
++                'owner'            => 'root',
+                 'check_group'      => true,
+-                'group'            => 'apache',
++                'group'            => 'http',
+                 'check_permission' => true,
+-                'permission'       => 755,
++                'permission'       => 640,
+             ),
+-            APP_PATH . 'setup.conf.php' => array(
++            '/etc/eventum/core.php' => array(
+                 'check_owner'      => true,
+-                'owner'            => 'apache',
++                'owner'            => 'root',
+                 'check_group'      => true,
+-                'group'            => 'apache',
++                'group'            => 'http',
+                 'check_permission' => true,
+-                'permission'       => 750,
++                'permission'       => 640,
++            ),
++            '/etc/eventum/setup.php' => array(
++                'check_owner'      => true,
++                'owner'            => 'root',
++                'check_group'      => true,
++                'group'            => 'http',
++                'check_permission' => true,
++                'permission'       => 660,
+                 'check_filesize'   => true,
+                 'filesize'         => 1024
+             ),
+@@ -157,6 +165,7 @@
+                 'permission'       => 100,
+             ),
+         );
++        $required_directories = array();
+         foreach ($required_directories as $dir_path => $options) {
+             // check if directory exists
+             if (!file_exists($dir_path)) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-paths.patch?r1=1.13&r2=1.14&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to