From 93baeb11e8a782c9b0a2f57fc848d839e2be10c6 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 10 Sep 2017 02:35:12 +0200 Subject: [PATCH 1/3] fix for libs folder uppercase/lowercase issue https://github.com/panique/mini3/issues/7 --- application/{libs => Libs}/helper.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename application/{libs => Libs}/helper.php (100%) diff --git a/application/libs/helper.php b/application/Libs/helper.php similarity index 100% rename from application/libs/helper.php rename to application/Libs/helper.php From 75c0a61725bd6b6194b38c5f4276a19867f6aca6 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 10 Sep 2017 02:47:37 +0200 Subject: [PATCH 2/3] fix for libs folder uppercase issue (part 1 of 2, folder and content removed) --- application/Libs/helper.php | 57 ------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 application/Libs/helper.php diff --git a/application/Libs/helper.php b/application/Libs/helper.php deleted file mode 100644 index 3897934..0000000 --- a/application/Libs/helper.php +++ /dev/null @@ -1,57 +0,0 @@ - $value) { - - // check if named parameters (':param') or anonymous parameters ('?') are used - if (is_string($key)) { - $keys[] = '/' . $key . '/'; - } else { - $keys[] = '/[?]/'; - } - - // bring parameter into human-readable format - if (is_string($value)) { - $values[$key] = "'" . $value . "'"; - } elseif (is_array($value)) { - $values[$key] = implode(',', $value); - } elseif (is_null($value)) { - $values[$key] = 'NULL'; - } - } - - /* - echo "
[DEBUG] Keys:
";
-        print_r($keys);
-
-        echo "\n[DEBUG] Values: ";
-        print_r($values);
-        echo "
"; - */ - - $raw_sql = preg_replace($keys, $values, $raw_sql, 1, $count); - - return $raw_sql; - } - -} From dff7326cdc3a65e901d9de4c368dcea8ff3e0a1f Mon Sep 17 00:00:00 2001 From: Jan Sunavec Date: Tue, 19 Dec 2017 12:57:14 +0100 Subject: [PATCH 3/3] Test 4 --- public/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/index.php b/public/index.php index b4cdbff..8d5feab 100644 --- a/public/index.php +++ b/public/index.php @@ -10,6 +10,8 @@ * @license http://opensource.org/licenses/MIT MIT License */ +echo "TEST 4"; + /** * Now MINI work with namespaces + composer's autoloader (PSR-4) *