Correct _XE_PATH_ in the template test file

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9527 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-10-10 07:16:06 +00:00
parent e7b8749c15
commit d09ce9b95c

View file

@ -1,7 +1,7 @@
<?php
define('__DEBUG__', 1);
define('_XE_PATH_', realpath(dirname(__FILE__).'/../../../'));
define('_XE_PATH_', str_replace('tests/classes/template/TemplateHandlerTest.class.php', '', strtr(__FILE__, '\\', '/')));
require _XE_PATH_.'/classes/file/FileHandler.class.php';
require _XE_PATH_.'/classes/template/TemplateHandler.class.php';