// 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;
*/
protected function relativeThemePath($group, $fallbackSubdir, $name)
{
- if (StatusNet::isHTTPS()) {
+ if (GNUsocial::isHTTPS()) {
$sslserver = common_config($group, 'sslserver');
if (empty($sslserver)) {