Benutzer-Werkzeuge

Webseiten-Werkzeuge


cloud4education

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte Überarbeitung Beide Seiten der Revision
cloud4education [2012/11/04 14:52]
admin
cloud4education [2012/11/04 17:38]
admin [Version 4.0.1]
Zeile 37: Zeile 37:
  
 <code php lib/​user.php>​ <code php lib/​user.php>​
 +        // server4education shares
 +        private static function getS4eShares() {
 +                $shares = array();
 +                $fp = @fopen("/​srv/​www/​htdocs/"​.OC::​$WEBROOT."/​config/​s4eshares.config",​ "​r"​);​
 +                while($line = fgets($fp, 1024)) {
 +                        $line = trim($line);​
 +                        if($line != ""​)
 +                                $shares[] = $line;
 +                }
 +                fclose($fp);​
 +                return $shares;
 +        }
 +
 +
 +
         /**         /**
          * @brief Kick the user          * @brief Kick the user
Zeile 58: Zeile 73:
  
 <code php lib/​util.php>​ <code php lib/​util.php>​
 +        // server4education shares
 +        private static function getS4eShares() {
 +                $shares = array();
 +                $fp = @fopen("/​srv/​www/​htdocs/"​.OC::​$WEBROOT."/​config/​s4eshares.config",​ "​r"​);​
 +                while($line = fgets($fp, 1024)) {
 +                        $line = trim($line);​
 +                        if($line != ""​)
 +                                $shares[] = $line;
 +                }
 +                fclose($fp);​
 +                return $shares;
 +        }
 +
 +
 +
  
         /**         /**
Zeile 171: Zeile 201:
 wwwrun ALL = NOPASSWD: /​sbin/​mount.cifs wwwrun ALL = NOPASSWD: /​sbin/​mount.cifs
 </​code>​ </​code>​
 +
 +  *Passwort und EMail Dialog abschalten:
 +    *settings/​templates/​personal.php
cloud4education.txt · Zuletzt geändert: 2012/11/04 18:07 von admin