diff options
author | Remi Collet <remi@remirepo.net> | 2019-07-05 15:35:44 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-07-05 15:35:44 +0200 |
commit | 1350da3292c083b7cf30d234f16d86ddb9142d33 (patch) | |
tree | fb30e1ce5a9c85b00df0bf52c6049f73c77d2287 /php-sabre-uri-autoload.php | |
parent | ab17d35563982c3cc08c6ada85f4d780fbbb271d (diff) |
Diffstat (limited to 'php-sabre-uri-autoload.php')
-rw-r--r-- | php-sabre-uri-autoload.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/php-sabre-uri-autoload.php b/php-sabre-uri-autoload.php index 8fc051f..b6268d1 100644 --- a/php-sabre-uri-autoload.php +++ b/php-sabre-uri-autoload.php @@ -6,5 +6,7 @@ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('Sabre\\Uri\\', __DIR__); // Functions -require_once __DIR__ . '/functions.php'; +if (!function_exists('Sabre\\Uri\\resolve')) { + require_once __DIR__ . '/functions.php'; +} |