aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/upgrade.php b/upgrade.php
new file mode 100644
index 000000000..37248d484
--- /dev/null
+++ b/upgrade.php
@@ -0,0 +1,12 @@
+<?php
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+admin_gatekeeper();
+set_time_limit(0);
+
+echo "upgrade microthemes";
+$previous_access = elgg_set_ignore_access(true);
+openid_client_run_upgrades();
+elgg_set_ignore_access($previous_access);
+
+echo "DONE";