4 include
'../../system/classes/db.php';
5 include
'../../system/classes/language.php';
6 include
'../../system/classes/settings.php';
7 include
'../../system/classes/update.php';
17 $language->init(
$db,
"backend");
19 $lang = (array) $language->lang;
26 if (isset($_POST[
'updateVersion']))
36 \YAWK\sys::setSyslog(
$db, 54, 0,
"UPDATE FAST FORWARD to version ".
$updateVersion.
" successful", 0, 0, 0, 0);
37 echo
"<h3 class=\"text-success\">Update fast-forward to version ".$updateVersion.
" successful</h3>";
41 \YAWK\sys::setSyslog(
$db, 55, 2,
"UPDATE FAST FORWARD to version ".
$updateVersion.
" failed", 0, 0, 0, 0);
42 echo
"<h3 class=\"text-danger\">fast-forward update to version ".$updateVersion.
" failed</h3>";
print $lang['FILEMAN_UPLOAD']
Mysqli database class; returns db connection object.
The language class - support multilingual backend.
static setSetting($db, $property, $value, $lang)
Set value for property into settings database.
static getSetting($db, $property)
Get and return value for property from settings database.
The update class - handles yawk's system update functions.
if(!isset($db)) if(!isset($lang)) $update
if(isset($_POST['updateVersion'])) $yawkversion