Composer directory and autoload (currently unused)

This commit is contained in:
Dan Stillman
2013-02-06 20:29:12 -05:00
parent 64c8538324
commit 395572d11c
3 changed files with 8 additions and 0 deletions

1
composer.json Normal file
View File

@@ -0,0 +1 @@
{}

View File

@@ -135,6 +135,9 @@ if (file_exists(Z_ENV_BASE_PATH . 'include/config/custom.inc.php')) {
require('config/custom.inc.php');
}
// Composer autoloads
//require Z_ENV_BASE_PATH . 'vendor/autoload.php';
require('HTMLPurifier/HTMLPurifier.standalone.php');
$c = HTMLPurifier_Config::createDefault();
$c->set('HTML.Doctype', 'XHTML 1.0 Strict');

4
vendor/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore