diff options
author | M.Gergo | 2020-03-28 19:03:58 +0100 |
---|---|---|
committer | M.Gergo | 2020-03-28 19:03:58 +0100 |
commit | 6a10a6eef31f288fe9112d757c62a48538dbeef6 (patch) | |
tree | e540821eea3cf97a5dc3859f05233f69e136da85 /egyéb/nextcloud | |
parent | 9f0d0dd580c770c234690e26e41e7db754618511 (diff) | |
download | mayor-6a10a6eef31f288fe9112d757c62a48538dbeef6.tar.gz mayor-6a10a6eef31f288fe9112d757c62a48538dbeef6.zip |
Mayor-Nextcloud script: argumentumok
Diffstat (limited to 'egyéb/nextcloud')
-rw-r--r-- | egyéb/nextcloud/mayor-nextcloud.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/egyéb/nextcloud/mayor-nextcloud.php b/egyéb/nextcloud/mayor-nextcloud.php index adac9cc8..412ab583 100644 --- a/egyéb/nextcloud/mayor-nextcloud.php +++ b/egyéb/nextcloud/mayor-nextcloud.php @@ -50,7 +50,7 @@ $replace = array( 'aa', 'ae', 'ee', 'ii', 'oo', 'oe', 'ooe', 'uu', 'ue', 'uue', $log['verbose'] = $m2n['verbose']; for($i = 1; $i<$argc; $i++){ - if(@$argv[$i] == "--loglevel" and is_numeric($argv[$i+1])){$log['verbose'] = $argv[$i+1]; $i++;} + if(@$argv[$i] == "--loglevel" and is_numeric($argv[$i+1])){$log['verbose'] = intval($argv[$i+1]); $i++;} if(@$argv[$i] == "--set-diak-quota" ){ $ALWAYS_SET_DIAK_QUOTA = true; if($log['verbose'] < 4){ $log['verbose'] = 4;} } } @@ -386,7 +386,6 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im return strcmp($a['userAccount'], $b['userAccount']); } - function po($inp,$ll,$dir){ // Szép kimenetet gyárt while(grapheme_strlen($inp) < $ll){ if($dir == 0){ |