PDA

View Full Version : Some notes when using files_[admin/reseller/user].conf files


FarCry
07-03-2003, 04:14 AM
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:

#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:

#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

jdlitson
07-26-2003, 05:36 PM
Thanks for the tips :D