forked from GNUsocial/gnu-social
fix copy-and-paste error in javascript url creation
This commit is contained in:
parent
72454db118
commit
8f3b18f27f
@ -393,10 +393,7 @@ class HTMLOutputter extends XMLOutputter
|
||||
$path = common_config('javascript', 'path');
|
||||
|
||||
if (empty($path)) {
|
||||
$path = common_config('site', 'path') . '/';
|
||||
if ($fallbackSubdir) {
|
||||
$path .= $fallbackSubdir . '/';
|
||||
}
|
||||
$path = common_config('site', 'path') . '/js/';
|
||||
}
|
||||
|
||||
$server = common_config('javascript', 'server');
|
||||
|
Loading…
Reference in New Issue
Block a user