From 23e0b63754b1a69d198e97b26474cf08be9cda64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Fri, 1 Dec 2017 15:03:40 -0800 Subject: [PATCH] .gitignore was ignoring too many files --- .gitignore | 4 +- docker/var/www/app/config.php | 4 + .../picofeed/lib/PicoFeed/Config/Config.php | 96 +++++++++++++++++++ 3 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 docker/var/www/app/config.php create mode 100644 vendor/miniflux/picofeed/lib/PicoFeed/Config/Config.php diff --git a/.gitignore b/.gitignore index d4975f31d..86389fa6b 100644 --- a/.gitignore +++ b/.gitignore @@ -15,10 +15,10 @@ Thumbs.db *.out *.log .vagrant -config.php data/files data/cache *.bak -!docker/kanboard/config.php +/config.php +!docker/var/wwww/app/config.php node_modules bower_components diff --git a/docker/var/www/app/config.php b/docker/var/www/app/config.php new file mode 100644 index 000000000..58daff481 --- /dev/null +++ b/docker/var/www/app/config.php @@ -0,0 +1,4 @@ +container[$parameter] = $arguments[0]; + + return $this; + } elseif ($prefix === 'get') { + $default_value = isset($arguments[0]) ? $arguments[0] : null; + + return isset($this->container[$parameter]) ? $this->container[$parameter] : $default_value; + } + } +}