fix copy-and-paste error in javascript url creation

This commit is contained in:
Evan Prodromou 2010-10-14 14:53:20 -04:00
parent 72454db118
commit 8f3b18f27f

View File

@ -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');