BUGFIX Absolute include paths so phpunit executable doesnt barf

This commit is contained in:
Ingo Schommer 2011-01-17 06:00:16 +00:00
parent 5d48bc97de
commit b61e4e9057
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class DocumentationParser {
$md = self::rewrite_heading_anchors($md, $page);
$md = self::rewrite_code_blocks($md, $page);
require_once('../sapphiredocs/thirdparty/markdown/markdown.php');
require_once(BASE_PATH . '/sapphiredocs/thirdparty/markdown/markdown.php');
$html = Markdown($md);
return $html;

View File

@ -20,7 +20,7 @@ class RebuildLuceneDocsIndex extends BuildTask {
}
function rebuildIndexes($quiet = false) {
require_once('../sapphiredocs/thirdparty/markdown/markdown.php');
require_once(BASE_PATH . '/sapphiredocs/thirdparty/markdown/markdown.php');
ini_set("memory_limit", -1);
ini_set('max_execution_time', 0);