Welcome Guest, Not a member yet? Register   Sign In
map folder like images, css, etc
#1

[eluser]new_igniter[/eluser]
Hello,
I must be missing something here. I went to add a new folder "charts" in the web folder, next to images, js, etc. In my app, I reference images like /images/filename but when I go to reference a file out of the new folder I created, using /charts/chartname it cannot find the folder. How do I map it as such so that I can reference the newly created charts folder like /images

Thanks!!!
#2

[eluser]jcavard[/eluser]
[quote author="new_igniter" date="1249964234"]Hello,
I must be missing something here. I went to add a new folder "charts" in the web folder, next to images, js, etc. In my app, I reference images like /images/filename but when I go to reference a file out of the new folder I created, using /charts/chartname it cannot find the folder. How do I map it as such so that I can reference the newly created charts folder like /images

Thanks!!![/quote]
You should be able to. How do you call it? any code?
#3

[eluser]jedd[/eluser]
Have you perchance installed an .htaccess file that prevents access to this new folder?
#4

[eluser]verynewtothis[/eluser]
If i understood it correctly ... this would do..
Code:
<?php echo base_url()?>/charts/...
#5

[eluser]new_igniter[/eluser]
hmm, I took over the code so I need to look at the htaccess. Thanks!!




Theme © iAndrew 2016 - Forum software by © MyBB