ezsys

Summary

Returns misc values such as wwwdir, sitedir, etc.

Usage

ezsys( system_variable )

Parameters

NameTypeDescriptionRequired
system_variable string System variable name yes

Returns

System variable value.

Description

Used to return Exponential system variables.

Available variables are:

  • indexfile - name of index file
  • indexdir - relative path and index file
  • sitedir - local path of Exponential installation
  • wwwdir - relative directory path of Exponential installation
  • hostname - hostname of Exponential server

Examples

News package installed on server ez.no, by user tom in path /home/tom/public_html/local/ez333

wwwdir - {ezsys( 'wwwdir' )}<br />

sitedir - {ezsys( 'sitedir' )}<br />

indexfile - {ezsys( 'indexfile' )}<br />

indexdir - {ezsys( 'indexdir' )}<br />

magicQuotes - {ezsys( 'magicQuotes' )}<br />

hostname - {ezsys( 'hostname' )}<br />

Outputs :

wwwdir - /~tom/local/ez333
sitedir - /home/tom/public_html/local/ez333/
indexfile - /index.php/news
indexdir - /~tom/local/ez333/index.php/news
magicQuotes -
hostname - ez.no

Comments

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
       currentdate
       ezini
       ezhttp
       ezpreference
       ezsys
       fetch
       module_params
    Formatting
    Images
    Logic
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
11:33:44 am
by Balazs Halasy

Last updated

06/02/2004
11:37:37 am
by Kåre Køhler Høvik

Authors

Balazs Halasy
Kåre Køhler Høvik



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.