Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 843 → Rev 844

/trunk/doc/config_values.txt
43,8 → 43,9
OIDplus::baseConfig()->setValue('ODBC_USERNAME', 'sa');
 
OIDplus::baseConfig()->setValue('ODBC_PASSWORD', base64_decode('<base64_encoded_password>')); // alternatively as plaintext
The base64 encoding "protects" your password from being read if
someone quickly looks at your display while you have the configuration file opened.
The base64 encoding protects your password from being read if someone
"looks over your shoulder" at your display while you have the configuration file opened.
(Obviously, it doesn't protect you if they can make a photo or screenshot)
 
OIDplus::baseConfig()->setValue('PDO_DSN', 'pgsql:host=localhost;dbname=oidplus');
 
51,8 → 52,9
OIDplus::baseConfig()->setValue('PDO_USERNAME', 'postgres');
 
OIDplus::baseConfig()->setValue('PDO_PASSWORD', base64_decode('<base64_encoded_password>')); // alternatively as plaintext
The base64 encoding "protects" your password from being read if
someone quickly looks at your display while you have the configuration file opened.
The base64 encoding protects your password from being read if someone
"looks over your shoulder" at your display while you have the configuration file opened.
(Obviously, it doesn't protect you if they can make a photo or screenshot)
 
OIDplus::baseConfig()->setValue('MYSQL_HOST', 'localhost:3306');
The hostname to connect to. Port (:3306) is optional.
64,8 → 66,9
OIDplus::baseConfig()->setValue('MYSQL_USERNAME', 'root');
 
OIDplus::baseConfig()->setValue('MYSQL_PASSWORD', base64_decode('<base64_encoded_password>')); // alternatively as plaintext
The base64 encoding "protects" your password from being read if
someone quickly looks at your display while you have the configuration file opened.
The base64 encoding protects your password from being read if someone
"looks over your shoulder" at your display while you have the configuration file opened.
(Obviously, it doesn't protect you if they can make a photo or screenshot)
 
OIDplus::baseConfig()->setValue('MYSQL_DATABASE', 'oidplus');
 
79,8 → 82,9
OIDplus::baseConfig()->setValue('PGSQL_USERNAME', 'postgres');
 
OIDplus::baseConfig()->setValue('PGSQL_PASSWORD', base64_decode('<base64_encoded_password>')); // alternatively as plaintext
The base64 encoding "protects" your password from being read if
someone quickly looks at your display while you have the configuration file opened.
The base64 encoding protects your password from being read if someone
"looks over your shoulder" at your display while you have the configuration file opened.
(Obviously, it doesn't protect you if they can make a photo or screenshot)
 
OIDplus::baseConfig()->setValue('PGSQL_DATABASE', 'oidplus');