Merge pull request #10750 from altatof/themefix
FIX : allow eldy theme stylesheet to be included in custom themes
This commit is contained in:
commit
9ffac1ca4a
@ -61,7 +61,7 @@ if (defined('THEME_ONLY_CONSTANT')) return;
|
|||||||
|
|
||||||
session_cache_limiter('public');
|
session_cache_limiter('public');
|
||||||
|
|
||||||
require_once '../../main.inc.php';
|
require_once __DIR__.'/../../main.inc.php'; // __DIR__ allow this script to be included in custom themes
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||||
|
|
||||||
// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
|
// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user