diff options
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/config.inc.php | 5 | ||||
| -rw-r--r-- | frontends/php/include/db.inc.php | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 5122429a..bbe2e755 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -1020,7 +1020,10 @@ COpt::profiling_start("page"); { global $page; $class = "horizontal_menu"; - $url = $page["file"]; + if(isset($page["menu.url"])) + $url = $page["menu.url"]; + else + $url = $page["file"]; } else { diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index 1a998e3d..2af83b98 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -26,7 +26,8 @@ // $DB_TYPE ="POSTGRESQL"; $DB_TYPE ="MYSQL"; $DB_SERVER ="localhost"; - $DB_DATABASE ="zabbix"; +// $DB_DATABASE ="zabbix"; + $DB_DATABASE ="osmiy"; $DB_USER ="root"; $DB_PASSWORD =""; // END OF DATABASE CONFIGURATION |
