07-25-2008, 11:23 AM
|
#8 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by ncorpse
I tried that out it doesn't work.
PHP Code:
define('DOCROOT','/var/www/patric/Adressverwaltung/');
...
echo '<link rel="stylesheet" type="text/css" href="'.DOCROOT.'inc/css/stylesheet.css">'."\n";
It seems that it is not working when i use an absolut path. when i use ./.../ instead it works fine.
Do I need to do something with the php include paths?
|
I don't think you can use path in href, just do the url base.
__________________
VillageIdiot can have my babbies ;d
|
|
|
|