diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-25 07:47:53 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-25 07:47:53 +0400 |
commit | 498b740da4b65bb62b968eacc234d8de37d7891f (patch) | |
tree | 1d98d8f4be062dcbc87d5d151c3346c2324d9d27 /core/Config.php | |
parent | cb63c6317f280dd14f4e3c6d1e0d1778acac5349 (diff) | |
parent | 2e6d6c7373314bdd79d7603d6f4f486e8bdb7988 (diff) |
Merge branch 'master' into uiunittests
Conflicts:
tests/PHPUnit/UI
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 10 |
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(); |