]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/scheme.php
Replace current_theme() and current_theme_url() calls
[friendica.git] / view / theme / frio / php / scheme.php
index 02de0a0359675db5427073de134cee387e68d7c8..538839b2c256f8623b3b66a80c7acaa0816082aa 100644 (file)
  */
 use Friendica\Core\PConfig;
 
+require_once 'boot.php';
+
 function get_scheme_info($scheme)
 {
-       $theme = current_theme();
+       $theme = get_app()->getCurrentTheme();
        $themepath = 'view/theme/' . $theme . '/';
        $scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme'));