summaryrefslogtreecommitdiffstats
path: root/postload.php
diff options
context:
space:
mode:
authornashe <thomas@chauchefoin.fr>2017-05-28 13:51:10 +0200
committernashe <thomas@chauchefoin.fr>2017-05-28 13:51:10 +0200
commitd2bb29ea95842059f9ae4dfe841d143ddf779258 (patch)
tree5fe34561c13d652b741c76af08b4de17a781d3b6 /postload.php
parentb3610f17ef53dd3b3455614263ffd809843b101c (diff)
downloadplanet-d2bb29ea95842059f9ae4dfe841d143ddf779258.tar
planet-d2bb29ea95842059f9ae4dfe841d143ddf779258.tar.gz
planet-d2bb29ea95842059f9ae4dfe841d143ddf779258.tar.bz2
planet-d2bb29ea95842059f9ae4dfe841d143ddf779258.tar.xz
planet-d2bb29ea95842059f9ae4dfe841d143ddf779258.zip
Do not process postload.php requests if app not installed
Diffstat (limited to 'postload.php')
-rw-r--r--postload.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/postload.php b/postload.php
index 389f1d8..943a84e 100644
--- a/postload.php
+++ b/postload.php
@@ -2,7 +2,9 @@
require_once __DIR__.'/app/app.php';
-ensure_installed();
+if (!is_installed()) {
+ die();
+}
$xml = new SimpleXMLElement(file_get_contents(custom_path('people.opml')));