Skip to content
Aaron Junker edited this page Apr 17, 2021 · 1 revision

Variable newClass()

  • since Pa1.0Bfx0
  • contains array
  • in file (various files)

This array holds the whole configuration of USOC on server side.

All default values are defined in (root) /localSettings.php and should get overwritten at the end of the (root) /configuration.php.

Values

Name Description Default value Other examples
SITE_PATH Path to the root folder. or ..
ADMIN_PATH Path to the (root) /admin folder. /admin or .
DOMAIN The root domai.n http://localhost
userRights More information on the page about the permission system. -
afterInitializasition This array key holds an array of functions that get executed after the initialisation of the class U. localSettings.php sets the names of the permission levels after the initialisation.
lockedSettings An array of settings that the admins aren't allowed to change An empty array array_push($USOC["lockedSettings"], "site.name");
Clone this wiki locally