if ( !defined('GALETTE_SLIM_VIEWS_PATH') ) {
define('GALETTE_SLIM_VIEWS_PATH', GALETTE_ROOT . 'lib/Slim-Views');
}*/
-/*if ( !defined('GALETTE_XHPROF_PATH') ) {
+if ( !defined('GALETTE_XHPROF_PATH') ) {
define('GALETTE_XHPROF_PATH', '/usr/share/xhprof/');
-}*/
+}
//galete's paths
if (!defined('GALETTE_CONFIG_PATH')) {
if (self::$run) {
$data = xhprof_disable();
- $incl = (defined('XHPROF_PATH') ? XHPROF_PATH : self::XHPROF_PATH);
+ $incl = (defined('GALETTE_XHPROF_PATH') ? GALETTE_XHPROF_PATH : self::XHPROF_PATH);
include_once $incl . '/utils/xhprof_lib.php';
include_once $incl . '/utils/xhprof_runs.php';