cloud4education
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| cloud4education [2012/11/04 14:55] – 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/ | <code php apps/ | ||
| // Check if we are a user | // Check if we are a user | ||
| OCP\User:: | OCP\User:: | ||
| - | OCP\User:: | + | OC_Util:: |
| </ | </ | ||
| Zeile 201: | Zeile 271: | ||
| wwwrun ALL = NOPASSWD: / | wwwrun ALL = NOPASSWD: / | ||
| </ | </ | ||
| + | |||
| + | *Passwort und EMail Dialog abschalten: | ||
| + | *settings/ | ||
cloud4education.1352037350.txt.gz · Zuletzt geändert: von admin
