Welcome Guest, Not a member yet? Register   Sign In
"Allow from all" entry in .htaccess necessary to load static content
#5

[eluser]idealws[/eluser]
Hello,

I use the following structure if it helps you:

public_html
-assets
-images
-css
-js
-index.php
-.htaccess
system
-application
-core

You can then change your above code to:

Code:
<?php echo site_url(); ?>assets/js/jquery.flot.js

Hope this helps. I don't like putting the core and application files in the public_html or www folder. I feel it is more secure moving them down a directory off the public view.


Messages In This Thread
"Allow from all" entry in .htaccess necessary to load static content - by El Forum - 08-06-2011, 02:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB