This commit is contained in:
Laurent Destailleur 2020-05-14 16:52:21 +02:00
parent c1fb712c86
commit 499c2ea30a
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
/**
* \file htdocs/core/lib/ajax.lib.php
* \brief Page called by Ajax request for produts
* \brief Page called to enhance interface with Javascript and Ajax features.
*/

View File

@ -317,7 +317,7 @@ if (!defined('NOLOGIN') && !defined('NOIPCHECK') && !empty($dolibarr_main_restri
// Loading of additional presentation includes
if (!defined('NOREQUIREHTML')) require_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php'; // Need 660ko memory (800ko in 2.2)
if (!defined('NOREQUIREAJAX') && $conf->use_javascript_ajax) require_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php'; // Need 22ko memory
require_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php'; // Need 22ko memory
// If install or upgrade process not done or not completely finished, we call the install page.
if (!empty($conf->global->MAIN_NOT_INSTALLED) || !empty($conf->global->MAIN_NOT_UPGRADED))