خرید بک لینک

Vote count: 0

I've got a .env file with this content:

APP_ENV=dev

in the root of my project which shows that I am in the development mode and therefor my config files will be loaded from config/dev directory instead of config directory.

Now I want to add live reload to my html page by including the following script:

<script type="text/javascript">document.write('<script src="//localhost:35729/livereload.js?snipver=1" type="text/javascript"></script>')</script>

But I only want this to be included if I am in development mode, not in production. How can I do this?

asked 25 secs ago

برچسب: how to check oil,how to check for lice,how to check for bed bugs,how to check internet speed,how to check your credit score,how to check blood pressure,how to check data usage on iphone,how to check if iphone is unlocked,how to check data usage,how to check cpu temp, نویسنده: استخدام کار تاريخ: شنبه 6 شهريور 1395 ساعت: 21:53

صفحه بندی