Latest articles
Latest articles of category

Useful variables

Calling a variable

The above code will call two variables. The WEBSITE_ROOT and session_lang. If you place the whole code into a link it will point to the index of the chosen language.

WEBSITE_ROOT ---> your domain path, for example or

THEME_ROOT --> the full path to theme, for example

ADMIN_STYLE --> the full path to administration theme, for example

GalleryPath --> the full path to gallery images, for example /home/yourusername/public_html/portal/gallery/images/

Important Notice
Most of the variables outlined here are those configured on includes/settings.php
Posted on: 23/03/2011