diff options
author | Remi Collet <remi@remirepo.net> | 2019-07-05 15:57:04 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-07-05 15:57:04 +0200 |
commit | 63fca7d32c148532229273bc0a11eee82e93a4d6 (patch) | |
tree | a79719a81333bc5efa5352434f790bd8f10475a8 /php-sabre-http-autoload.php | |
parent | e2b79a49231f9fec33965498f87a7977d7adc4ee (diff) |
fix autoloader
Diffstat (limited to 'php-sabre-http-autoload.php')
-rw-r--r-- | php-sabre-http-autoload.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/php-sabre-http-autoload.php b/php-sabre-http-autoload.php index f305e1a..abbc601 100644 --- a/php-sabre-http-autoload.php +++ b/php-sabre-http-autoload.php @@ -6,7 +6,9 @@ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('Sabre\\HTTP\\', __DIR__); // Functions -require_once __DIR__ . '/functions.php'; +if (!function_exists('Sabre\\HTTP\\parseDate')) { + require_once __DIR__ . '/functions.php'; +} \Fedora\Autoloader\Dependencies::required(array( '/usr/share/php/Sabre/Event/autoload.php', |