X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Ftheme.php;h=ef7290de2398ea2cdb973f3dea636f3831424a34;hb=60e7dc1e39d4dab5bb46d3b364ab9aec74819323;hp=1239e317f4e9cab68440a00fae206a4ccbb76838;hpb=081d4edbf5e5a72bb7cab8b5587be1bdf71e40cb;p=quix0rs-gnu-social.git diff --git a/lib/theme.php b/lib/theme.php index 1239e317f4..ef7290de23 100644 --- a/lib/theme.php +++ b/lib/theme.php @@ -106,9 +106,9 @@ class Theme // Ruh roh. Fall back to default, then. - common_log(LOG_WARN, sprintf("Unable to find theme '%s', falling back to default theme '%s'", - $name, - Theme::FALLBACK)); + common_log(LOG_WARNING, sprintf("Unable to find theme '%s', falling back to default theme '%s'", + $name, + Theme::FALLBACK)); $this->name = Theme::FALLBACK; $this->dir = $instroot.'/'.Theme::FALLBACK; @@ -130,7 +130,7 @@ class Theme */ protected function relativeThemePath($group, $fallbackSubdir, $name) { - if (StatusNet::isHTTPS()) { + if (GNUsocial::isHTTPS()) { $sslserver = common_config($group, 'sslserver'); if (empty($sslserver)) {