Fix deepclone, generation and file loading bugs

This commit is contained in:
Stéphane Goetz
2016-04-19 18:13:37 +02:00
committed by Stéphane Goetz
parent d25a001325
commit 38e939c848
4 changed files with 27 additions and 13 deletions
daux.phargenerate
libs
Compiler.php
Format
HTML
ContentTypes
Markdown

@ -64,8 +64,8 @@ software, even if advised of the possibility of such damage.
*/
if (file_exists('vendor/autoload.php')) {
require_once('vendor/autoload.php');
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once(__DIR__ . '/vendor/autoload.php');
} elseif (file_exists('daux.phar')) {
define('PHAR_DIR', __DIR__);
require_once("phar://" . __DIR__ . "/daux.phar/vendor/autoload.php");