summaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-07 14:59:18 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-07 14:59:18 +0100
commit0140448a562b97859be0b9a6e480e1f6aa4d1b1d (patch)
tree02cfb3cc6b4e0e3af8d096c44c8c5bf2c70f7ae8 /app/FreshRSS.php
parentbd199c617081f0354576afd09e9427756873afd2 (diff)
Refactor FreshRSS_Share object to be more usable
- FreshRSS_Share is the only object we manipulate - Add a way to register new share options easily - Move some i18n keys from index.php to gen.php See https://github.com/FreshRSS/FreshRSS/issues/730
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 06976c88b..254e35fee 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -32,6 +32,9 @@ class FreshRSS extends Minz_FrontController {
FreshRSS_Context::init();
$this->initI18n();
+
+ FreshRSS_Share::load(join_path(DATA_PATH, 'shares.php'));
+
$this->loadStylesAndScripts();
$this->loadNotifications();
$this->loadExtensions();