mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX custom CSS for WebPortal (#31022)
This commit is contained in:
parent
ed8560ca07
commit
dbd0412079
|
|
@ -45,6 +45,9 @@ if (!defined('NOREQUIREAJAX')) {
|
|||
|
||||
session_cache_limiter('public');
|
||||
|
||||
if (!defined('MAIN_INC_REL_DIR')) {
|
||||
define('MAIN_INC_REL_DIR', '../../');
|
||||
}
|
||||
require_once __DIR__.'/../../webportal.main.inc.php';
|
||||
dol_include_once('/webportal/class/webPortalTheme.class.php');
|
||||
|
||||
|
|
|
|||
|
|
@ -76,8 +76,11 @@ if (!function_exists('dol_getprefix')) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
include '../../main.inc.php';
|
||||
$relDir = '';
|
||||
if (defined('MAIN_INC_REL_DIR')) {
|
||||
$relDir = MAIN_INC_REL_DIR;
|
||||
}
|
||||
include $relDir.'../../main.inc.php';
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT . '/user/class/user.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT . '/societe/class/societeaccount.class.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user