Added master and release update-channels

This commit is contained in:
Daniel Preussker
2015-11-22 17:06:21 +00:00
parent 45b6a4c558
commit b2034cb329
2 changed files with 14 additions and 1 deletions
+11 -1
View File
@@ -35,7 +35,17 @@ The ' . $config['project_name'] . ' team.';
exit(2);
}
else {
exit((int) $config['update']);
if ($config['update']) {
if ($config['update_channel'] == 'master') {
exit(1);
}
elseif ($config['update_channel'] == 'release') {
exit(3);
}
}
else {
exit(0);
}
}
}