mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 14:44:14 +09:00
Introduce new get_cacti_version function to reduce database calls on pages
This commit is contained in:
1 parent
7985ca2e81
commit
1a14cbb440
46 files changed
+121
-130
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ if (read_config_option('auth_method') == '2') {
|
||||
}
|
||||
|
||||
$username = sanitize_search_string($username);
|
||||
$version = db_fetch_cell('SELECT cacti FROM version');
|
||||
$version = get_cacti_version();
|
||||
|
||||
/* process login */
|
||||
$copy_user = false;
|
||||
|
||||
Reference in new issue
Block a user