Fixed url problem with base_url() function.

This commit is contained in:
Alex Tselegidis 2015-05-27 23:11:46 +02:00
parent 1f73e7fcbc
commit 28a95d6943

View file

@ -14,23 +14,23 @@
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
href="<?php echo $this->config->base_url(); ?>/assets/ext/bootstrap/css/bootstrap.min.css"> href="<?php echo $this->config->item('base_url'); ?>/assets/ext/bootstrap/css/bootstrap.min.css">
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
href="<?php echo $this->config->base_url(); ?>/assets/css/libs/jquery/jquery-ui.min.css"> href="<?php echo $this->config->item('base_url'); ?>/assets/css/libs/jquery/jquery-ui.min.css">
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
href="<?php echo $this->config->base_url(); ?>/assets/css/libs/jquery/jquery.qtip.min.css"> href="<?php echo $this->config->item('base_url'); ?>/assets/css/libs/jquery/jquery.qtip.min.css">
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
href="<?php echo $this->config->base_url(); ?>/assets/css/frontend.css"> href="<?php echo $this->config->item('base_url'); ?>/assets/css/frontend.css">
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
href="<?php echo $this->config->base_url(); ?>/assets/css/general.css"> href="<?php echo $this->config->item('base_url'); ?>/assets/css/general.css">
<?php <?php
// ------------------------------------------------------------ // ------------------------------------------------------------
@ -38,32 +38,32 @@
// ------------------------------------------------------------ ?> // ------------------------------------------------------------ ?>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/jquery/jquery.min.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/js/libs/jquery/jquery.min.js"></script>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/jquery/jquery-ui.min.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/js/libs/jquery/jquery-ui.min.js"></script>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/jquery/jquery.qtip.min.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/js/libs/jquery/jquery.qtip.min.js"></script>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/ext/bootstrap/js/bootstrap.min.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/ext/bootstrap/js/bootstrap.min.js"></script>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/date.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/js/libs/date.js"></script>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/js/frontend_book.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/js/frontend_book.js"></script>
<?php <?php
// ------------------------------------------------------------ // ------------------------------------------------------------
// WEBPAGE FAVICON // WEBPAGE FAVICON
// ------------------------------------------------------------ ?> // ------------------------------------------------------------ ?>
<link rel="icon" type="image/x-icon" <link rel="icon" type="image/x-icon"
href="<?php echo $this->config->base_url(); ?>/assets/img/favicon.ico"> href="<?php echo $this->config->item('base_url'); ?>/assets/img/favicon.ico">
<link rel="icon" sizes="192x192" <link rel="icon" sizes="192x192"
href="<?php echo $this->config->base_url(); ?>/assets/img/logo.png"> href="<?php echo $this->config->item('base_url'); ?>/assets/img/logo.png">
<?php <?php
// ------------------------------------------------------------ // ------------------------------------------------------------
@ -396,6 +396,6 @@
</div> </div>
<script <script
type="text/javascript" type="text/javascript"
src="<?php echo $this->config->base_url(); ?>/assets/js/general_functions.js"></script> src="<?php echo $this->config->item('base_url'); ?>/assets/js/general_functions.js"></script>
</body> </body>
</html> </html>