diff options
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', |