$error = checkPermissions(APP_SETUP_FILE, "File '" . APP_SETUP_FILE. "'");
if (!empty($error)) {
$errors[] = $error;
---- eventum/bin/monitor.php 2010-11-24 17:24:23.000000000 +0200
-+++ eventum/bin/monitor.php 2010-11-24 18:23:09.664934996 +0200
-@@ -37,17 +37,17 @@
- $required_files = array(
- APP_CONFIG_PATH . '/config.php' => array(
- 'check_owner' => true,
-- 'owner' => 'apache',
-+ 'owner' => 'root',
- 'check_group' => true,
-- 'group' => 'apache',
-+ 'group' => 'http',
- 'check_permission' => true,
- 'permission' => 640,
- ),
- APP_CONFIG_PATH . '/setup.php' => array(
- 'check_owner' => true,
-- 'owner' => 'apache',
-+ 'owner' => 'root',
- 'check_group' => true,
-- 'group' => 'apache',
-+ 'group' => 'http',
- 'check_permission' => true,
- 'permission' => 660,
- 'check_filesize' => true,
---- eventum-3.0.3-314-gedea8e4/config/sphinx.conf.php~ 2015-10-27 18:02:36.000000000 +0200
-+++ eventum-3.0.3-314-gedea8e4/config/sphinx.conf.php 2015-10-29 11:53:26.068169385 +0200
+--- eventum-3.0.8-100-g3543f89/src/Command/MonitorCommand.php~ 2016-01-31 18:24:19.000000000 +0200
++++ eventum-3.0.8-100-g3543f89/src/Command/MonitorCommand.php 2016-02-01 00:16:28.751423105 +0200
+@@ -31,17 +31,17 @@
+ $required_files = array(
+ APP_CONFIG_PATH . '/config.php' => [
+ 'check_owner' => true,
+- 'owner' => 'apache',
++ 'owner' => 'root',
+ 'check_group' => true,
+- 'group' => 'apache',
++ 'group' => 'http',
+ 'check_permission' => true,
+ 'permission' => 640,
+ ],
+ APP_CONFIG_PATH . '/setup.php' => [
+ 'check_owner' => true,
+- 'owner' => 'apache',
++ 'owner' => 'root',
+ 'check_group' => true,
+- 'group' => 'apache',
++ 'group' => 'http',
+ 'check_permission' => true,
+ 'permission' => 660,
+ 'check_filesize' => true,
+--- eventum-3.1.5/config/sphinx.conf.php~ 2016-11-13 12:05:37.000000000 +0200
++++ eventum-3.1.5/config/sphinx.conf.php 2016-11-23 03:10:05.855040510 +0200
@@ -1,7 +1,7 @@
#!/usr/bin/php
<?php
--require_once __DIR__ . "/../init.php";
+-require_once __DIR__ . '/../init.php';
+require_once '/usr/share/eventum/init.php';
if (!defined('SPHINX_LOG_PATH')) {