File centreon-web-cron-path.patch of Package centreon-web

diff -Pdpru centreon-18.10.0.orig/cron/centAcl.php centreon-18.10.0/cron/centAcl.php
--- centreon-18.10.0.orig/cron/centAcl.php	2018-10-24 17:43:17.000000000 +0200
+++ centreon-18.10.0/cron/centAcl.php	2018-10-29 12:06:36.482725121 +0100
@@ -39,12 +39,12 @@
  */
 define('LDAP_UPDATE_PERIOD', 3600);
 
-require_once realpath(dirname(__FILE__) . "/../config/centreon.config.php");
-include_once _CENTREON_PATH_ . "/cron/centAcl-Func.php";
-include_once _CENTREON_PATH_ . "/www/class/centreonDB.class.php";
-include_once _CENTREON_PATH_ . "/www/class/centreonLDAP.class.php";
-include_once _CENTREON_PATH_ . "/www/class/centreonMeta.class.php";
-include_once _CENTREON_PATH_ . "/www/class/centreonContactgroup.class.php";
+require_once "@CENTREON_DIR@/config/centreon.config.php";
+require_once "@CENTREON_DIR@/cron/centAcl-Func.php";
+require_once "@CENTREON_DIR@/www/class/centreonDB.class.php";
+require_once "@CENTREON_DIR@/www/class/centreonLDAP.class.php";
+require_once "@CENTREON_DIR@/www/class/centreonMeta.class.php";
+require_once "@CENTREON_DIR@/www/class/centreonContactgroup.class.php";
 
 $centreonDbName = $conf_centreon['db'];