mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-03 02:09:22 -04:00
Change how the urls are built in the java script
This commit is contained in:
@@ -23,7 +23,7 @@ class server_add_theme_Core {
|
||||
if (Router::$current_uri == "admin/server_add") {
|
||||
$head[] = "<link media=\"screen, projection\" rel=\"stylesheet\" type=\"text/css\" href=\"" .
|
||||
url::file("lib/jquery.autocomplete.css") . "\" />";
|
||||
$base = url::base(true);
|
||||
$base = url::site("__ARGS__");
|
||||
$csrf = access::csrf_token();
|
||||
$head[] = "<script> var base_url = \"$base\"; var csrf = \"$csrf\";</script>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user