]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix copy-and-paste error in javascript url creation
authorEvan Prodromou <evan@status.net>
Thu, 14 Oct 2010 18:53:20 +0000 (14:53 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 14 Oct 2010 18:53:20 +0000 (14:53 -0400)
lib/htmloutputter.php

index 4a1b7db472a9318dfc13a2802749cded898561dc..42bff44908b797cb78bdf78315a28ebdfd315de1 100644 (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');