From 6597b5549273b137259bd27d06380a419778e8b0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 6 Apr 2020 04:45:48 +0200 Subject: Mayor-Nextcloud script: Tankörmappák userek --- "egy\303\251b/nextcloud/mayor-nextcloud.cfg.php" | 2 +- "egy\303\251b/nextcloud/mayor-nextcloud.php" | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'egyéb') diff --git "a/egy\303\251b/nextcloud/mayor-nextcloud.cfg.php" "b/egy\303\251b/nextcloud/mayor-nextcloud.cfg.php" index 65547de7..816fc2b3 100644 --- "a/egy\303\251b/nextcloud/mayor-nextcloud.cfg.php" +++ "b/egy\303\251b/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\303\251b/nextcloud/mayor-nextcloud.php" "b/egy\303\251b/nextcloud/mayor-nextcloud.php" index 3f5ed7da..0b671b27 100644 --- "a/egy\303\251b/nextcloud/mayor-nextcloud.php" +++ "b/egy\303\251b/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){ -- cgit v1.2.3