Posted by:
kreativizm
(---.219.178.195.netspeed.com.tr)
kreativizm Wrote:
-------------------------------------------------------
> kreativizm Wrote:
> --------------------------------------------------
> -----
> > Hello, i am using wampserver 3.1.7 and i
> installed
> > some php script but on localhost base_url
> function
> > return empty...When i upload my script to my
> host
> > then base_url working fine... what can i do for
> > base_url working fine on localhost? my php
> version
> > is 7+
>
> Thank you for reply,
<script src="<?php echo BASE_URL . '/assets/js/jquery.js'; ?>"></script>
on script using like this...and it return empty...BASE_URL is on script
$baseUrl = getBaseUrl();
define('BASE_URL', $baseUrl);
Thank you so much my problem solved...
Edited 1 time(s). Last edit at 09/03/2020 05:41PM by RiggsFolly.