fixed a prob with the url matching code
[glcas.git] / libglcas / web.php
index 7ef4de6..0d812d9 100644 (file)
@@ -75,7 +75,7 @@ function GLCASpageBuilder($bodyClass, $bodyFunction, $bodycontent=null, $title="
                                $mt = preg_match("/.*.js$/", $file);
                                if($mt > 0) {
                                        error_log("loading js $file");
-                                       echo "<script type=\"text/javascript\" src=\"$BASE_URL/css/$file\"></script>";
+                                       echo "<script type=\"text/javascript\" src=\"$BASE_URL/js/$file\"></script>";
                                        //echo "required $basedir/$file\n";
                                }
                        }