Goffy
Co-Administrator
Gepostet am:26.07.2020 08:16
$category['image_path'] = XOOPS_THEME_URL . '/' . $GLOBALS['xoopsConfig']['theme_set'] . '/Publisher/images/' . $this->getImage();
/themes//Publisher/images/defenders.gif
$category['image_path'] = XOOPS_THEME_URL . '/' . $xoopsConfig['theme_set'] . '/Publisher/images/' . $this->getImage();
var_dump($GLOBALS['xoopsConfig']);
use XmfRequest;
use XoopsModulesPublisher;
require_once __DIR__ . '/header.php';
var_dump($xoopsConfig);
var_dump($xoopsConfig);
Goffy schrieb:
hi
entweder die globale Variable einbinden
Zitat:global $xoopsConfig;
oder direkt ansprechen
Zitat:$GLOBALS['xoopsConfig']
global $xoopsConfig;
$category['image_path'] = XOOPS_THEME_URL . '/' . $xoopsConfig['theme_set'] . '/Publisher/images/' . $this->getImage();
global $xoopsConfig;
$GLOBALS['xoopsConfig']
Forum | Thema | Antworten | Views | Letzter Beitrag |
---|---|---|---|---|
OffOffTopic | [Wichtig] Übernahme myXOOPS | 0 | 494 | 11.12.2023 18:57 alfred |
Die Installation und Administration von XOOPS 2.5.X | [Offen] Upgrade 2.5.11 | 3 | 2207 | 07.05.2023 07:03 Goffy |