diff options
Diffstat (limited to 'inc/lib_base.php')
-rw-r--r-- | inc/lib_base.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php index 6cf820207b6..19288f58c73 100644 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -112,6 +112,7 @@ $loginresult=OC_USER::loginlisener(); */ class OC_UTIL { public static $scripts=array(); + public static $styles=array(); private static $fsSetup=false; public static function setupFS(){// configure the initial filesystem based on the configuration @@ -182,6 +183,14 @@ class OC_UTIL { public static function addScript($url){ self::$scripts[]=$url; } + /** + * add a css file + * + * @param url $url + */ + public static function addStyle($url){ + self::$styles[]=$url; + } /** * array to store all the optional navigation buttons of the plugins |