Merge branch 'ent-11473-error-en-una-consola-sin-config-deberia-saltar-al-instalador' into 'develop'
Ent 11473 error en una consola sin config deberia saltar al instalador See merge request artica/pandorafms!6041
This commit is contained in:
commit
b477d85566
|
@ -32,16 +32,6 @@ if (defined('__PAN_XHPROF__') === false) {
|
|||
define('__PAN_XHPROF__', 0);
|
||||
}
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
if (__PAN_XHPROF__ === 1) {
|
||||
if (function_exists('tideways_xhprof_enable') === true) {
|
||||
tideways_xhprof_enable();
|
||||
} else {
|
||||
error_log('Cannot find tideways_xhprof_enable function');
|
||||
}
|
||||
}
|
||||
|
||||
// Needed for InfoBox count.
|
||||
if (isset($_SESSION['info_box_count']) === true) {
|
||||
$_SESSION['info_box_count'] = 0;
|
||||
|
@ -142,6 +132,16 @@ if ((file_exists('include/config.php') === false)
|
|||
exit;
|
||||
}
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
if (__PAN_XHPROF__ === 1) {
|
||||
if (function_exists('tideways_xhprof_enable') === true) {
|
||||
tideways_xhprof_enable();
|
||||
} else {
|
||||
error_log('Cannot find tideways_xhprof_enable function');
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* DO NOT CHANGE ORDER OF FOLLOWING REQUIRES.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue