aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-11-05 08:23:21 +0000
committerroot <root@ops.vz.lan>2012-11-05 08:23:26 +0000
commitc631c4c4ed4c403ad152b2bdfc1c03f3ace48465 (patch)
tree6ce3101628efec82a38bdf3b9ae6290acdcf16eb /upgrade.php
parent347414453e74e7e8cad25820d9a77449edb8355c (diff)
downloadelgg-c631c4c4ed4c403ad152b2bdfc1c03f3ace48465.tar.gz
elgg-c631c4c4ed4c403ad152b2bdfc1c03f3ace48465.tar.bz2
add upgrade scripts.
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";