Constants

   

Salt charset

CHARSET = SSO_CHARSET 
package sso\config
 

Absolute path of SALT framework

SALT_PATH = '...' 
package sso\config
 

Absolute path of SSO Session store path

SESSION_PATH = '...' 

We use a specific path for session files because some OS (debian and derivated : ubuntu, etc...) use a specific cron script for clean sessions, based on php.ini files. In the SSO, each user can choose the lifetime of the session, but it does not work well if OS clean session files after 30mn...

package sso\config
 

Sso charset

SSO_CHARSET = 'UTF-8' 
package sso\config
 

Client charset for database as MySQL expected it

SSO_DB_CHARSET = 'utf8' 

It's better if database and website charset are the same, but if not, we have to set here the website charset. MySQL will convert all input/output data to this charset from/to the database charset.

see for how DB charset works
see for supported charsets
package sso\config
 

Database name

SSO_DB_DATABASE = 'database' 
package sso\config
 

Database host name

SSO_DB_HOST = 'localhost' 
package sso\config
 

Database password

SSO_DB_PASS = 'password' 
package sso\config
 

Database port

SSO_DB_PORT = 3306 
package sso\config
 

Database user

SSO_DB_USER = 'root' 
package sso\config
 

Default SSO locale *

SSO_LOCALE = 'en' 
package sso\config
 

Number of elements displayed in autocomplete list

SSO_MAX_AUTOCOMPLETE_ELEMENTS = 8 
package sso\config
 

Number of elements displayed in tooltip

SSO_MAX_TOOLTIP_ELEMENTS = 5 
package sso\config
 

Number of characters required for an autocomplete search

SSO_MIN_AUTOCOMPLETE_CHARACTERS = 2 
package sso\config