diff --git a/ground/config_template.php b/ground/config_template.php index 856abe3..6fe890a 100644 --- a/ground/config_template.php +++ b/ground/config_template.php @@ -9,5 +9,6 @@ return array( 'dbname' => 'poi', ), //'version' => trim(file_get_contents(dirname(__FILE__).'/version')), + 'metrika' => true, ); diff --git a/ground/views/layout.php b/ground/views/layout.php index 94ee4fc..d6822bf 100644 --- a/ground/views/layout.php +++ b/ground/views/layout.php @@ -7,67 +7,74 @@ <?= App::getConfig('title') ?> - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - + $var): ?> + var = ''; + + + +

WikiPoints

- - - - - - - + if (w.opera == "[object Opera]") { + d.addEventListener("DOMContentLoaded", f, false); + } else { + f(); + } + })(document, window, "yandex_metrika_callbacks"); + + + + \ No newline at end of file