diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2009-08-13 17:46:09 -0400 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2009-08-13 17:46:09 -0400 |
| commit | b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a (patch) | |
| tree | 0449277e94a42aa155995a90fd8a89cb3309e7ab /admin/update.php | |
| parent | 6a1d5b60e6ec541a36727b84b71168f62221f7d7 (diff) | |
| download | fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.tar.gz fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.tar.bz2 fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.zip | |
Rewrote Admin panel
The following database changes must be made: * A TEXT column called "text" must be added to the end of "polloftheweek" * The transferPollRss.php script must be run * The "pollrss" table must be dropped Closes #113
Diffstat (limited to 'admin/update.php')
| -rw-r--r-- | admin/update.php | 36 |
1 files changed, 36 insertions, 0 deletions
| diff --git a/admin/update.php b/admin/update.php new file mode 100644 index 0000000..05d4706 --- /dev/null +++ b/admin/update.php | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | <?php | ||
| 2 | /* | ||
| 3 | 444444444 | ||
| 4 | 4::::::::4 | ||
| 5 | 4:::::::::4 | ||
| 6 | 4::::44::::4 | ||
| 7 | 4::::4 4::::4 Four Island | ||
| 8 | 4::::4 4::::4 | ||
| 9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
| 10 | 4::::444444::::444 | ||
| 11 | 4::::::::::::::::4 admin/update.php | ||
| 12 | 4444444444:::::444 | ||
| 13 | 4::::4 Please do not use, reproduce or steal the | ||
| 14 | 4::::4 contents of this file without explicit | ||
| 15 | 4::::4 permission from Hatkirby. | ||
| 16 | 44::::::44 | ||
| 17 | 4::::::::4 | ||
| 18 | 4444444444 | ||
| 19 | */ | ||
| 20 | |||
| 21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
| 22 | |||
| 23 | require('headerproc.php'); | ||
| 24 | |||
| 25 | $category = 'home'; | ||
| 26 | $pageaid = 'update'; | ||
| 27 | |||
| 28 | if (!isset($_GET['submit'])) | ||
| 29 | { | ||
| 30 | $template = new FITemplate('admin/hgupdate'); | ||
| 31 | $template->display(); | ||
| 32 | } else { | ||
| 33 | system('hg update'); | ||
| 34 | } | ||
| 35 | |||
| 36 | ?> | ||
