release 1.1.3

This commit is contained in:
root
2016-11-02 20:41:45 +01:00
parent 5620db46eb
commit 114633ab86
14 changed files with 138 additions and 82 deletions

View File

@@ -66,6 +66,13 @@ function checkProcess($pid = null) {
}
function start() {
global $logpath;
if(substr(sprintf('%o', fileperms($logpath)), -3, 1)!='7') {
echo "\n !!!! Logs folder is not writable !!!!\n\n";
echo " Cancel start request...\n\n";
exit;
}
if (substr(php_uname(), 0, 7) == "Windows") {
if (checkProcess() == FALSE) {
echo "Starting the Ranksystem Bot.";