summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ea70df)
raw | patch | inline | side by side (parent: 9ea70df)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Jul 2010 14:13:54 +0000 (14:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Jul 2010 14:13:54 +0000 (14:13 +0000) |
-Support stats plugin
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19298 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19298 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/main.php | patch | blob | history |
index c03c69b9d28a3ed9fcff362f06e38e5a7888eefe..4be9b39448dfff8d771305364060a6d84500d7bc 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
session::global_set('runtime_cache',array());
session::set('limit_exceeded',FALSE);
+// Count number of page reloads
+if(!session::is_set('clicks')){
+ session::set('clicks', 0);
+}
+$clicks = session::get('clicks');
+$clicks ++ ;
+session::set('clicks', $clicks);
+
+
pathNavigator::clear();
if ($_SERVER["REQUEST_METHOD"] == "POST"){
@setcookie("GOsa_Filter_Settings",base64_encode(serialize($cookie)),time() + (60*60*24));
}
+stats::show();
+
/* Show page... */
echo $display;