diff options
author | M.Gergo | 2020-04-06 04:45:48 +0200 |
---|---|---|
committer | M.Gergo | 2020-04-06 04:45:48 +0200 |
commit | 6597b5549273b137259bd27d06380a419778e8b0 (patch) | |
tree | 1bb4521970aec49d5a5485126ea1ede7a005738a | |
parent | 5b5485ac12a8f992c9fff7c9a17a91ca9ee3ec31 (diff) | |
download | mayor-6597b5549273b137259bd27d06380a419778e8b0.tar.gz mayor-6597b5549273b137259bd27d06380a419778e8b0.zip |
Mayor-Nextcloud script: Tankörmappák userek
-rw-r--r-- | egyéb/nextcloud/mayor-nextcloud.cfg.php | 2 | ||||
-rw-r--r-- | egyéb/nextcloud/mayor-nextcloud.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/egyéb/nextcloud/mayor-nextcloud.cfg.php b/egyéb/nextcloud/mayor-nextcloud.cfg.php index 65547de7..816fc2b3 100644 --- a/egyéb/nextcloud/mayor-nextcloud.cfg.php +++ b/egyéb/nextcloud/mayor-nextcloud.cfg.php @@ -32,7 +32,7 @@ $m2n['csoportnev_hossz'] = 40; $m2n['felhasznalo_hossz'] = 45; $m2n['default_lang'] = "hu"; $m2n['manage_groupdirs'] = false; //Foglalkozzon-e a script a tankörmappákkal -$m2n['groupdir_users'] = array("naplo_robot","12abcd"); //Ha a tömb üres, akkor az összes tanárral dolgozik. +$m2n['groupdir_users'] = array("naplo_robot","123abcd"); //Ha a tömb üres, akkor az összes tanárral dolgozik. $m2n['groupdir_prefix'] = "Iskolai Távoktatás"; $m2n['mindenki_csop'] = "naplós_felhasználók"; $m2n['mindenki_tanar'] = "naplós_tanárok"; diff --git a/egyéb/nextcloud/mayor-nextcloud.php b/egyéb/nextcloud/mayor-nextcloud.php index 3f5ed7da..0b671b27 100644 --- a/egyéb/nextcloud/mayor-nextcloud.php +++ b/egyéb/nextcloud/mayor-nextcloud.php @@ -16,7 +16,7 @@ $db['nxt_prefix'] = "oc_"; //$db['mayor_port'] = ""; //$db['mayor_user'] = ""; //$db['mayor_pass'] = ""; - + $m2n['min_evfolyam'] = 1; $m2n['isk_rovidnev'] = "rovid"; $m2n['csoport_prefix'] = "(tk) "; @@ -56,7 +56,7 @@ for($i = 1; $i<$argc; $i++){ } - + if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Improved) és php7 kell! function db_connect(array $db){ @@ -88,7 +88,7 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im } return $l; } - } + } // bezár: mysqli_close($link); function script_install($link){ |