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 |
|---|