Added empty style file for ownCloud package

This commit is contained in:
RainLoop Team 2015-03-09 23:47:57 +04:00
parent 3613bf5270
commit dd41d30f9b
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,10 @@ OCP\User::checkLoggedIn();
OCP\App::checkAppEnabled('rainloop');
OCP\App::setActiveNavigationEntry('rainloop_index');
// Load the empty file ../css/style.css, that's needed to allow theming of
// the ownCloud header and navigation if rainloop is the active app.
OCP\Util::addStyle('rainloop', 'style');
include_once OC_App::getAppPath('rainloop').'/lib/RainLoopHelper.php';
$sUrl = OC_RainLoop_Helper::normalizeUrl(OC_RainLoop_Helper::getAppUrl());