]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
Ensure that the baseurl return value is a string
[friendica.git] / view / theme / smoothly / theme.php
index c87ec9abe19a3e8ceb0654e5e3b119b4a434e9d3..73ff81441c740ba2a30e62e2731a483eb6cb4b47 100644 (file)
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  *
- * Name: Vier
- * Version: 1.2
- * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
- * Author: Ike <http://pirati.ca/profile/heluecht>
- * Author: Beanow <https://fc.oscp.info/profile/beanow>
- * Maintainer: Ike <http://pirati.ca/profile/heluecht>
- * Description: "Vier" is a very compact and modern theme. It uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/
+ * Name: smoothly
+ *
+ * BEWARE: currently UNSUPPORTED
  */
 
 /*
@@ -49,7 +45,7 @@ function smoothly_init(App $a) {
 
        $cssFile = null;
        $ssl_state = false;
-       $baseurl = DI::baseUrl();
+       $baseurl = (string)DI::baseUrl();
        DI::page()['htmlhead'] .= <<< EOT
 
 <script>
@@ -116,7 +112,7 @@ if (! function_exists('_js_in_foot')) {
                /** @purpose insert stuff in bottom of page
                */
                $ssl_state = false;
-               $baseurl = DI::baseUrl();
+               $baseurl = (string)DI::baseUrl();
                $bottom['$baseurl'] = $baseurl;
                $tpl = Renderer::getMarkupTemplate('bottom.tpl');