Constants

All native constants of FuelPHP are available but links to specific Novius OS directories.

constant NOSROOT

Path where Novius OS is installed.

constant PUBLIC_DIR

Contains the name of the public directory. Initialized to public if not set.

New in version 4.2.

constant NOSPATH

Path of Novius OS core: NOSROOT/novius-os/framework/.

constant APPPATH

Overload of the native FuelPHP’s constant. Path to the application directory: NOSROOT/local/.

constant COREPATH

Overload of the native FuelPHP’s constant. Path to the FuelPHP core directory: NOSROOT/novius-os/fuel-core/.

constant DOCROOT

Overload of the native FuelPHP’s constant. Path to the location where the startup script is: NOSROOT/public/.

constant PKGPATH

Overload of the native FuelPHP’s constant. Path to the packages directory: NOSROOT/novius-os/packages/.