diff options
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch')
-rw-r--r-- | php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch b/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch deleted file mode 100644 index 710947a..0000000 --- a/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 2154b3581ec69bd38bfbc68fe355e6383756ec8f Mon Sep 17 00:00:00 2001 -From: Remi Collet <fedora@famillecollet.com> -Date: Tue, 20 Jan 2015 10:28:07 +0100 -Subject: [PATCH] allow to set compatinfo.sqlite path using - BARTLETT_COMPATINFO_DB - ---- - src/Bartlett/CompatInfo/Environment.php | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/Bartlett/CompatInfo/Environment.php b/src/Bartlett/CompatInfo/Environment.php -index e50eec5..c10ef97 100644 ---- a/src/Bartlett/CompatInfo/Environment.php -+++ b/src/Bartlett/CompatInfo/Environment.php -@@ -22,6 +22,10 @@ class Environment - */ - public static function initRefDb() - { -+ if ($database = getenv('BARTLETT_COMPATINFO_DB')) { -+ return new \PDO('sqlite:' . $database); -+ } -+ - $database = 'compatinfo.sqlite'; - $tempDir = sys_get_temp_dir() . '/bartlett'; - |