Some notes when using files_[admin/reseller/user].conf files

FarCry

Verified User
Joined
Jun 6, 2003
Messages
280
Location
Perth, Australia
I was talking to a few people and they seem to be having problems with understanding the .conf files.

- There are no quotes in these files what so ever. Everything after the "=" is considered to be its value. eg:
Code:
#wrong:
IMG_SOMEIMAGE="images/imagefile.gif"

#right:
IMG_SOMEIMAGE=images/imagefile.gif
- paths are relitive to the .conf files. The conf files are at the root of the skins directory, you NEVER need ../ or / at the begining of a token value. eg:
Code:
#DA will spit out like gum:
IMG_SOMEIMAGE=../../imagefile.gif

#not good practice:
IMG_SOMEIMAGE=/images/imagefile.gif

#good:
IMG_SOMEIMAGE=images/imagefile.gif
- YOU NEED A BLANK LINE AT THE END OF YOUR FILES!. This is an absolute must or the last line won't be read. Just press enter a few times at the end of your variables
 
Top