]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/theme.php
Escaping the address field
[friendica.git] / view / theme / quattro / theme.php
index fc908522a1862144ccdf2f971dc9b77f44367136..ac172cee053fbd0d385c060271f1147a454858b9 100644 (file)
@@ -7,7 +7,10 @@
  * Maintainer: Tobias <https://diekershoff.homeunix.net/friendica/profile/tobias>
  */
 
+use Friendica\App;
+use Friendica\Core\System;
+
 function quattro_init(App $a) {
-       $a->page['htmlhead'] .= '<script src="'.App::get_baseurl().'/view/theme/quattro/tinycon.min.js"></script>';
-       $a->page['htmlhead'] .= '<script src="'.App::get_baseurl().'/view/theme/quattro/js/quattro.js"></script>';;
+       $a->page['htmlhead'] .= '<script src="'.System::baseUrl().'/view/theme/quattro/tinycon.min.js"></script>';
+       $a->page['htmlhead'] .= '<script src="'.System::baseUrl().'/view/theme/quattro/js/quattro.js"></script>';;
 }