forked from Runalyze/Runalyze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update.php
31 lines (25 loc) · 813 Bytes
/
update.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* RUNALYZE - Updater
*
* @author Hannes Christiansen
* @copyright http://runalyze.laufhannes.de/
* @package Runylze
*
* With this file you are able to update RUNALYZE.
* Don't change anything in this file!
*/
if (!file_exists('data/config.php')) {
die('We have changed some paths. Please move your config.php file to data/config.php');
}
require_once 'inc/class.Installer.php';
require_once 'inc/class.InstallerUpdate.php';
require_once 'inc/system/class.Request.php';
require_once 'inc/system/class.System.php';
require_once 'inc/html/class.Ajax.php';
require_once 'inc/system/class.Cache.php';
$Updater = new InstallerUpdate();
$title = 'Update: Runalyze v'.RUNALYZE_VERSION;
include 'inc/tpl/tpl.installerHeader.php';
$Updater->display();
include 'inc/tpl/tpl.installerFooter.php';