aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2021-03-11 01:39:09 -0500
committerThedro Neely <thedroneely@gmail.com>2021-03-11 01:39:09 -0500
commitabbfc1936fdced50d0a62bc45357735b0e7ec42d (patch)
tree0e36f30f25c16bd3dfdd171cc43fab95167d39f5 /app/controllers
parentc7278474d35d71d6d3b112707b3d5eaf48ec13a4 (diff)
downloadthedroneely.com-abbfc1936fdced50d0a62bc45357735b0e7ec42d.tar.gz
thedroneely.com-abbfc1936fdced50d0a62bc45357735b0e7ec42d.tar.bz2
thedroneely.com-abbfc1936fdced50d0a62bc45357735b0e7ec42d.zip
app/controllers/api: Show standard errors
app/controllers/api/cache.controller.php app/controllers/api/thumbnails.controller.php
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/api/cache.controller.php2
-rw-r--r--app/controllers/api/thumbnails.controller.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/api/cache.controller.php b/app/controllers/api/cache.controller.php
index 7f149c0..c3109af 100644
--- a/app/controllers/api/cache.controller.php
+++ b/app/controllers/api/cache.controller.php
@@ -3,5 +3,5 @@
* Invalidate cache
*/
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
- echo $cacheBust = shell_exec('../bootstrap/helpers/cache');
+ echo $cacheBust = shell_exec('../bootstrap/helpers/cache 2>&1');
}
diff --git a/app/controllers/api/thumbnails.controller.php b/app/controllers/api/thumbnails.controller.php
index e5d2be3..685a73e 100644
--- a/app/controllers/api/thumbnails.controller.php
+++ b/app/controllers/api/thumbnails.controller.php
@@ -3,5 +3,5 @@
* Update Thumbnails
*/
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
- echo $updateTumbnails = shell_exec('../bootstrap/helpers/thumbnails');
+ echo $updateTumbnails = shell_exec('../bootstrap/helpers/thumbnails 2>&1');
}