Welcome Guest, Not a member yet? Register   Sign In
How to load asset [images, css, javascript] without using base_ur()
#1

[eluser]himalking[/eluser]
hi guys, I have a serious problem

my application runs well, but sometimes everything gets freeze and nothing gets loaded

let me explain:
the page images, css, javascript and all paths doesn't load, though it was working well, and then I Wait for a while, and run the application again and it works again, without any change from me.

I'm setting my environment as follows:
Quote:- I moved the application folder out side system folder, in the same level as index.php
- I placed all my assets in folders [images, css, javascript] in the same level as index.php
- I use assets like this: "../images/my_image.jpg"
- I'm not using $base_url() I just place "../"

If someone can help me with this situation I will be very grateful
I also need some one to advice me the best practice to load asses(images/css/javascript)directly because I'm using a lot of images.

Excuse me for this novice question as I'm a newbie in codeigniter, I know what I'm saying is strange, may be I can't explain it well


Messages In This Thread
How to load asset [images, css, javascript] without using base_ur() - by El Forum - 12-12-2010, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB