diff -Naur --exclude '*~' centreon-2.0/www/header.php centreon-2.0-use-system-smarty/www/header.php --- centreon-2.0/www/header.php 2008-12-15 18:27:24.000000000 +0100 +++ centreon-2.0-use-system-smarty/www/header.php 2008-12-22 00:25:03.000000000 +0100 @@ -51,7 +51,7 @@ /* * Define */ - define('SMARTY_DIR', '../GPL_LIB/Smarty/libs/'); + define('SMARTY_DIR', '/usr/share/php/smarty/'); /* * Include @@ -188,4 +188,4 @@ bind_textdomain_codeset("messages", "UTF-8"); textdomain("messages"); $mlang = $oreon->user->get_lang(); -?> \ Pas de fin de ligne à la fin du fichier. +?> diff -Naur --exclude '*~' centreon-2.0/www/include/common/common-Func.php centreon-2.0-use-system-smarty/www/include/common/common-Func.php --- centreon-2.0/www/include/common/common-Func.php 2008-12-15 18:27:23.000000000 +0100 +++ centreon-2.0-use-system-smarty/www/include/common/common-Func.php 2008-12-22 00:24:28.000000000 +0100 @@ -106,9 +106,9 @@ if (!$tpl) return; $tpl->template_dir = $path . $subDir; - $tpl->compile_dir = "../GPL_LIB/SmartyCache/compile"; - $tpl->config_dir = "../GPL_LIB/SmartyCache/config"; - $tpl->cache_dir = "../GPL_LIB/SmartyCache/cache"; + $tpl->compile_dir = "/var/cache/centreon/smarty/compile"; + $tpl->config_dir = "/var/cache/centreon/smarty/config"; + $tpl->cache_dir = "/var/cache/centreon/smarty/cache"; $tpl->caching = 0; $tpl->compile_check = true; @@ -1597,4 +1597,4 @@ $str = str_replace("#BS#", '\\', $str); return $str; } -?> \ Pas de fin de ligne à la fin du fichier. +?>