Fix bug : install fails due to the external Javascript
This commit is contained in:
parent
aa38745669
commit
370aa33b07
2 changed files with 5 additions and 3 deletions
|
|
@ -38,8 +38,10 @@ require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
|||
// for loading javascripts or style-sheet, it is needed to know the user
|
||||
// global preference, but the user is not yet connected
|
||||
// to a folder. So the Database is the repository
|
||||
$g_user=new Noalyss_user(new Database());
|
||||
set_language();
|
||||
if ( defined("noalyss_user") || defined("phpcompta_user")) {
|
||||
$g_user=new Noalyss_user(new Database());
|
||||
set_language();
|
||||
}
|
||||
// load message for javascript
|
||||
if (isset ($_REQUEST['loadjs']) && $_REQUEST['loadjs']=='message')
|
||||
{
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ function display_file_config($p_array, $from_setup = 1, $p_os = 1)
|
|||
// with NGINX it is needed to set the NOALYSS_URL , it is the default URL of $a
|
||||
// your installation, example with https://demo.noalyss.eu $a
|
||||
// define ("NOALYSS_URL","https://demo.noalyss.eu"); $a
|
||||
EOF;
|
||||
EOF;
|
||||
}
|
||||
/*!
|
||||
* \brief create the config file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue