CNCat 3.1 / User manual

© "CN-Software" Ltd. 2002-2007
cncat@cn-software.com
www.cn-software.com

Files structure

Files structure

Administrative interface files

Administrative interface files, as well as code.php is cyphered with the help of Zend Encoder and are unavailable for editing.

Plugins

See Plugins section.

Installation files

"install" directory contains installation scripts and should be deleted after successful installation (סל. Installation).

Language files

Language files are intended for displaying the catalogue interface in various languages.

Language file name is generated according to "lang_<language code>.php" template, where <language code> is two-lettered language indication, for instance, "en", "ru", "de" ט ע.ה. This code is defined in $LANGUAGE variable at פאיכו config.php file (see config.php).

Language file is a script, which contains description of $LANG associative array, where key is a string code, common for all languages, and value is a text in the given language.

$LANG["charset"] value defines character encoding of the catalogue pages.

Documentation files

Documentation files in a certain language are located in the subfolder with the language code. The main documentation file for each language is index.htm. The documentation is also available via the catalogue administrative interface ("Manual" section).

Example files

There are examples of the catalogue exported files in /sample/ folder (see Export&Import), which contain links, design and configuration. They may be used as base one for the catalogue creation, as well as for the analysis of CNCat abilities.

Also there is an example of a simple plugin for the administrative interface in this folder.

.htaccess

.htaccess file is intended for overriding Apache server settings. Here "mod_rewrite" module settings are defined, as well as some other.

Config.php

Config.php file contains database and interface language settings (see Config.php)

User interface files

User interface files are located at the catalogue root directory and are available for editing (except code.php).

Note: To symplify the catalogue versions update one should not modify other files except _top.php, _bottom.php and config.php.


Back | Manual index | Next