SysConf_Path

It is used to set basic directory paths and is actually used by the whole system.

In the default structure of the application, the settings are made in the script ~/application/config/Path.php

All these settings must be made. No default values are set.

WARNING! The value must always have a "/" at the end. This must be consistent so that the rest of the application does not have to figure out whether or not the character is there.

getter / setter meaning
getBase
setBase
Full path to the project's base directory
getLibrary
setLibrary
Path to the directory where the libraries are stored. Jet itself, of course, but not only that - your libraries and third-party libraries.

Default is ~/library/
getApplication
setApplication
Path to the directory where your entire application is located. That is, classes, modules, configurations, bases, and so on.

Default value is ~/application/
getBases
setBases
Directory containing MVC bases.

Default is ~/application/bases/
getMenus
setMenus
Directory containing definitions of base menus.

Default value is ~/application/menus/
getConfig
setConfig
Directory of application configuration.

Default value is ~/application/config/
getData
setData
Directory of application data. This is where the application stores, for example, a list of installed modules. But this directory can also be used specifically for other purposes within the application.

The default value is ~/application/data/
getDictionaries
setDictionaries
This is where the dictionaries of the translator are stored.

Default value is ~/application/dictionaries/
getCss
setCss
The directory containing your CSS files.

Default value is ~/css/

This directory also contains a subdirectory for storing CSS packages.

Default is ~/css/packages/
getJs
setJs
Directory containing your JavaScript files.

Default value is ~/js/

This directory also contains a subdirectory dedicated to storing JavaScript packages.

Default value is ~/js/packages/
getImages
setImages
Directory dedicated to storing your image. Seemingly not that important, but useful :-)

Default is ~/images/
getLogs
setLogs
Directory to which logs can be saved. For example. error messages ErrorHandler

Default value is ~/logs/
getTmp
getTmp
Temporary Files Directory

Default value is ~/tmp/
getCache
setCache
Directory for storing the cache contents (if a file system is used as the backend cache and not Redis for example, or similar solution)

Default value is ~/cache/
Previous chapter
Configuring the Jet platform
Next chapter
SysConf_URI