views: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org] / app / views / layout.phtml
index 6bf5eb497b3ccd602d8653e67eccf411b5a3c113..e8e40571f13cf160346c5f4b98ad06a16332c20e 100644 (file)
@@ -10,8 +10,8 @@
                </title>
                <meta name="viewport" content="width=device-width, initial-scale=1">
                <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
-               <link rel="stylesheet" href="<?= $baseUrl->mod("./octicons/octicons.css") ?>">
-               <link rel="stylesheet" href="<?= $baseUrl->mod("./index.css") ?>">
+               <link rel="stylesheet" href="<?= $baseUrl->mod(":./octicons/octicons.css") ?>">
+               <link rel="stylesheet" href="<?= $baseUrl->mod(":./index.css") ?>">
                
                <?php if (!empty($styles)) : ?>
                        <?php foreach($styles as $style) : ?>
@@ -52,7 +52,7 @@
                        </div>
                </footer>
                <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
-               <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
+               <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
                <script>$(".modal").modal("show")</script>
                <?php if (!empty($scripts)) : ?>
                        <?php foreach ($scripts as $script) : ?>