diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-13 13:22:33 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-13 13:22:33 +0000 |
commit | 061849186876852a18c608f47aecce9c487491c2 (patch) | |
tree | 1a22e71e755de85ddd7eba73c30ce9ce1663e5b8 /upgrade.php | |
parent | 8f348c9fde53e1494457950d48ccf40a41c6dd3c (diff) | |
download | elgg-061849186876852a18c608f47aecce9c487491c2.tar.gz elgg-061849186876852a18c608f47aecce9c487491c2.tar.bz2 |
Closes #430
git-svn-id: https://code.elgg.org/elgg/trunk@2239 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'upgrade.php')
-rw-r--r-- | upgrade.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/upgrade.php b/upgrade.php new file mode 100644 index 000000000..ba979f89f --- /dev/null +++ b/upgrade.php @@ -0,0 +1,24 @@ +<?php + /** + * Elgg upgrade script. + * + * This script triggers any upgrades necessary, ensuring that upgrades are triggered deliberately by a single + * user. + * + * @package Elgg + * @subpackage Core + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008 + * @link http://elgg.org/ + */ + + // Include elgg engine + require_once(dirname(__FILE__) . "/engine/start.php"); + + if (version_upgrade_check()) { + version_upgrade(); + } + + forward(); +?>
\ No newline at end of file |