Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Remove Unnecessary Public

Variable: $cfg['router']['removeUnnecessary']['public']

Effected class: router

Config type: router

Type of data: integer|boolean

Platform: 2v

How to call: self::$cfg['router']['removeUnnecessary']['public']

(only from effected classes)

Description:
Sometimes "public" infiltrates the url since public is accecible from everywhere, so this function removes "public" from url if exists and redirect. - This function can cause the site to malfunction if domain name is not the primary url and uses directories inside it.
Available options:
0|false - Disabled.
1|true - Enabled.
example: 1
The default set of "public".
How to set (example):
Code:
Info Panel
Roll it!   ⇔