Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-02-25 07:47:53 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-02-25 07:47:53 +0400
commit498b740da4b65bb62b968eacc234d8de37d7891f (patch)
tree1d98d8f4be062dcbc87d5d151c3346c2324d9d27 /core/Config.php
parentcb63c6317f280dd14f4e3c6d1e0d1778acac5349 (diff)
parent2e6d6c7373314bdd79d7603d6f4f486e8bdb7988 (diff)
Merge branch 'master' into uiunittests
Conflicts: tests/PHPUnit/UI
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/Config.php b/core/Config.php
index 67efc8a507..7d973a01e1 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -189,6 +189,16 @@ class Config extends Singleton
return $this->getHostname();
}
+ public function getClientSideOptions()
+ {
+ $general = $this->General;
+
+ return array(
+ 'action_url_category_delimiter' => $general['action_url_category_delimiter'],
+ 'autocomplete_min_sites' => $general['autocomplete_min_sites']
+ );
+ }
+
protected static function getByDomainConfigPath()
{
$host = self::getHostname();