]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- fixes for eventum-monitor
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 22 Feb 2005 21:05:58 +0000 (21:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-paths.patch -> 1.14

eventum-paths.patch

index 3bde25d2902f1d3c04a76e7474cc956787847069..5c45031ffa3b2a74d4834d0513c028545e05197b 100644 (file)
 \ 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)) {
This page took 0.030592 seconds and 4 git commands to generate.