MyXoops Forum

Forum - myXOOPS German Support

6 - 5 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Re: DH-Info und xlanguage ---> funktioniert das??

Betreff: Re: DH-Info und xlanguage ---> funktioniert das??
von alfred am 16.05.2008 15:48:21

Zitat:

frankblack schrieb:
Vielleicht so? Bin aber nicht sicher.

if (!preg_match("/admin/"dirname($_SERVER['PHP_SELF'])) || !preg_match("/modules/info/submit.php/"$_SERVER['REQUEST_URI'])) {
    include_once 
XOOPS_ROOT_PATH.'/modules/xlanguage/api.php';
    }


hehe fast, aber so sollte es gehen :

if (!preg_match("/admin/"dirname($_SERVER['PHP_SELF'])) || !preg_match("/include/"dirname($_SERVER['PHP_SELF']))) {
    include_once 
XOOPS_ROOT_PATH.'/modules/xlanguage/api.php';
}


Alfred

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5326 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1813 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag