From: Edward Z. Yang Date: Mon, 27 Apr 2009 20:20:34 +0000 (-0400) Subject: Add htmlpurifier and phpgit to external modules. X-Git-Url: https://repo.or.cz/w/xhtml-compiler.git/commitdiff_plain/ad43c3f9f36655406a7ef903551b8644930c12a2 Add htmlpurifier and phpgit to external modules. Signed-off-by: Edward Z. Yang --- diff --git a/.gitmodules b/.gitmodules index a9e2708..4ddd27e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,9 @@ [submodule "external/swiftmailer"] path = external/swiftmailer url = git://github.com/swiftmailer/swiftmailer.git +[submodule "external/phpgit"] + path = external/phpgit + url = git://repo.or.cz/phpgit.git +[submodule "external/htmlpurifier"] + path = external/htmlpurifier + url== git://repo.or.cz/htmlpurifier.git diff --git a/common.php b/common.php index a742a86..8f4358a 100644 --- a/common.php +++ b/common.php @@ -35,6 +35,9 @@ require_once 'XHTMLCompiler/DOMFilter/NewsBase.php'; // load external libraries that we *need* require_once 'external/swiftmailer/lib/swift_required.php'; +require_once 'external/phpgit/library/Git.php'; +require_once 'external/htmlpurifier/library/HTMLPurifier.auto.php'; +require_once 'external/htmlpurifier/extras/HTMLPurifierExtras.auto.php'; set_exception_handler('xhtmlcompiler_exception_handler'); $xc = XHTMLCompiler::getInstance(); // invoke the super-object diff --git a/external/htmlpurifier b/external/htmlpurifier new file mode 160000 index 0000000..41c9226 --- /dev/null +++ b/external/htmlpurifier @@ -0,0 +1 @@ +Subproject commit 41c9226f3dbe763ffc25e1659f694f55b0d1b7a3 diff --git a/external/phpgit b/external/phpgit new file mode 160000 index 0000000..66804f6 --- /dev/null +++ b/external/phpgit @@ -0,0 +1 @@ +Subproject commit 66804f664ed6c843fbadaae49b6b7262ced006e9