mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Fixed absolute/relative path issues in the JS and href places
SVN:trunk[1763]
This commit is contained in:
@@ -40,8 +40,8 @@ class SetupPage extends NiceWebPage
|
||||
{
|
||||
parent::__construct($sTitle);
|
||||
$this->add_linked_script("../js/jquery.blockUI.js");
|
||||
$this->add_linked_script("./setup.js");
|
||||
$this->add_linked_script("./setup_environment.js");
|
||||
$this->add_linked_script("../setup/setup.js");
|
||||
$this->add_linked_script("../setup/setup_environment.js");
|
||||
$this->add_style("
|
||||
body {
|
||||
background-color: #eee;
|
||||
@@ -425,7 +425,7 @@ function InitDataModel($oConfig, $bModelOnly = true, $bUseCache = false)
|
||||
SetupPage::log_info("MetaModel::Startup (ModelOnly = $bModelOnly)");
|
||||
}
|
||||
|
||||
if ($bUseCache)
|
||||
if (!$bUseCache)
|
||||
{
|
||||
// Reset the cache for the first use !
|
||||
MetaModel::ResetCache($oConfig);
|
||||
|
||||
Reference in New Issue
Block a user