diff --git a/Panda.php b/Panda.php index 91752f0..ae75f2e 100644 --- a/Panda.php +++ b/Panda.php @@ -292,8 +292,8 @@ class Panda self::CONFIG_ON_ERROR_FIRED => false, self::CONFIG_ON_FATAL_ERROR => false, self::CONFIG_ENABLE_FIREPHP => true, - self::CONFIG_FATAL_HTML => 'Panda/template/fatal.php', - self::CONFIG_HTTP_TPL => 'Panda/template/http.php', + self::CONFIG_FATAL_HTML => __DIR__ . '/Panda/templates/fatal.php', + self::CONFIG_HTTP_TPL => __DIR__ . '/Panda/templates/http.php', self::CONFIG_CATCH_FATAL => false, self::CONFIG_CATCH_STRICT => true, self::CONFIG_PANDA_PATH => '/', diff --git a/tests/Test/Panda/PandaTest.php b/tests/Test/Panda/PandaTest.php index 949b695..ca28c26 100644 --- a/tests/Test/Panda/PandaTest.php +++ b/tests/Test/Panda/PandaTest.php @@ -8,9 +8,9 @@ protected function setUp() Panda::CONFIG_DEBUG => false, Panda::CONFIG_VALID_PATH => ['/'], Panda::CONFIG_LOG_PATH => '/tmp', - Panda::CONFIG_ON_FATAL_ERROR => dirname(__DIR__, 2) .'/Panda/template/fatal.html', - Panda::CONFIG_FATAL_HTML => dirname(__DIR__, 2) . '/Panda/template/fatal.html', - Panda::CONFIG_HTTP_TPL => dirname(__DIR__, 2) . '/Panda/template/http.php', + Panda::CONFIG_ON_FATAL_ERROR => dirname(__DIR__, 2) .'/Panda/templates/fatal.html', + Panda::CONFIG_FATAL_HTML => dirname(__DIR__, 2) . '/Panda/templates/fatal.html', + Panda::CONFIG_HTTP_TPL => dirname(__DIR__, 2) . '/Panda/templates/http.php', Panda::CONFIG_CATCH_FATAL => false, Panda::CONFIG_CATCH_STRICT => true, Panda::CONFIG_PANDA_PATH => '/',