cloud4education
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| cloud4education [2012/11/04 13:39] – [Version 4.5.1] admin | cloud4education [2012/11/04 18:07] (aktuell) – admin | ||
|---|---|---|---|
| Zeile 2: | Zeile 2: | ||
| ===== Version 4.5.1 ===== | ===== Version 4.5.1 ===== | ||
| + | |||
| + | wget http:// | ||
| + | |||
| + | <code php apps/ | ||
| + | OCP\App:: | ||
| + | </ | ||
| + | |||
| + | <code php apps/ | ||
| + | <!--[if IE 8]>< | ||
| + | <div id=" | ||
| + | <h3> | ||
| + | <?php echo $l-> | ||
| + | </h3> | ||
| + | <p> | ||
| + | <?php echo $l-> | ||
| + | </p> | ||
| + | </ | ||
| + | <div id=" | ||
| + | <h3> | ||
| + | <?php echo $l-> | ||
| + | </h3> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <code php lib/ | ||
| + | public static function login( $uid, $password ) { | ||
| + | $run = true; | ||
| + | OC_Hook:: | ||
| + | |||
| + | if( $run ) { | ||
| + | $uid = self:: | ||
| + | $enabled = self:: | ||
| + | if($uid && $enabled) { | ||
| + | session_regenerate_id(true); | ||
| + | self:: | ||
| + | OC_Hook:: | ||
| + | $_SESSION[' | ||
| + | return true; | ||
| + | } | ||
| + | } | ||
| + | return false; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <code php lib/ | ||
| + | /*** server4education ***/ | ||
| + | |||
| + | /** | ||
| + | * Check if home folder is mounted, mount if not | ||
| + | */ | ||
| + | public static function checkHomeMounted(){ | ||
| + | // Check if home folder is mounted | ||
| + | if (!OC_Filesystem:: | ||
| + | OC_Filesystem:: | ||
| + | exec(" | ||
| + | } | ||
| + | |||
| + | foreach(self:: | ||
| + | if (!OC_Filesystem:: | ||
| + | OC_Filesystem:: | ||
| + | exec(" | ||
| + | } | ||
| + | } | ||
| + | exec(" | ||
| + | $_SESSION[' | ||
| + | } | ||
| + | |||
| + | /*** server4education ***/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | <code php apps/ | ||
| + | // Check if we are a user | ||
| + | OCP\User:: | ||
| + | OC_Util:: | ||
| + | </ | ||
| + | |||
| + | *Branding | ||
| + | * core/ | ||
| + | * core/ | ||
| + | * core/ | ||
| + | * core/ | ||
| + | * core/ | ||
| + | * core/ | ||
| <code php core/ | <code php core/ | ||
| Zeile 15: | Zeile 99: | ||
| </ | </ | ||
| ===== Version 4.0.1 ===== | ===== Version 4.0.1 ===== | ||
| + | |||
| + | <code php files/ | ||
| + | // Check if we are a user | ||
| + | OC_Util:: | ||
| + | OC_Util:: | ||
| + | </ | ||
| <code php lib/ | <code php lib/ | ||
| + | // server4education shares | ||
| + | private static function getS4eShares() { | ||
| + | $shares = array(); | ||
| + | $fp = @fopen("/ | ||
| + | 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 38: | Zeile 143: | ||
| <code php lib/ | <code php lib/ | ||
| + | // server4education shares | ||
| + | private static function getS4eShares() { | ||
| + | $shares = array(); | ||
| + | $fp = @fopen("/ | ||
| + | while($line = fgets($fp, 1024)) { | ||
| + | $line = trim($line); | ||
| + | if($line != "" | ||
| + | $shares[] = $line; | ||
| + | } | ||
| + | fclose($fp); | ||
| + | return $shares; | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| /** | /** | ||
| Zeile 74: | Zeile 194: | ||
| /*** server4education ***/ | /*** server4education ***/ | ||
| - | </ | ||
| - | |||
| - | <code php files/ | ||
| - | // Check if we are a user | ||
| - | OC_Util:: | ||
| - | OC_Util:: | ||
| </ | </ | ||
| Zeile 149: | Zeile 263: | ||
| #body-login p.info { width:26em; text-align: center; margin:2em auto; color:#777; text-shadow:# | #body-login p.info { width:26em; text-align: center; margin:2em auto; color:#777; text-shadow:# | ||
| </ | </ | ||
| + | |||
| + | <code ini / | ||
| + | wwwrun ALL = NOPASSWD: / | ||
| + | wwwrun ALL = NOPASSWD: / | ||
| + | wwwrun ALL = NOPASSWD: /bin/umount | ||
| + | wwwrun ALL = NOPASSWD: /bin/mount | ||
| + | wwwrun ALL = NOPASSWD: / | ||
| + | </ | ||
| + | |||
| + | *Passwort und EMail Dialog abschalten: | ||
| + | *settings/ | ||
cloud4education.1352032760.txt.gz · Zuletzt geändert: von admin
