mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mlanthaler: Moved the OpenID specific files to a sub folder to make the directory structure clearer and set a "standard" for new authentication methods.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41983 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7d600b025d
commit
83c60460cf
11
_config.php
11
_config.php
@ -16,17 +16,10 @@
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Add the security folder to the include path so that the
|
||||
* {@link http://www.openidenabled.com/ PHP OpenID library} finds it files
|
||||
*/
|
||||
$path_extra = realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'security';
|
||||
/**
|
||||
* Add Pear (pear.php.net)
|
||||
*/
|
||||
$path_extra .= PATH_SEPARATOR . realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'pear';
|
||||
|
||||
|
||||
$path_extra = PATH_SEPARATOR . realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'pear';
|
||||
$path = ini_get('include_path');
|
||||
$path = $path_extra . PATH_SEPARATOR . $path;
|
||||
ini_set('include_path', $path);
|
||||
@ -64,6 +57,7 @@ Authenticator::register_authenticator('OpenIDAuthenticator');
|
||||
*/
|
||||
//i18n::set_locale('ca_AD');
|
||||
|
||||
|
||||
/**
|
||||
* The root directory of TinyMCE
|
||||
*/
|
||||
@ -94,4 +88,5 @@ Security::set_password_encryption_algorithm('sha1', true);
|
||||
*/
|
||||
define('EMAIL_BOUNCEHANDLER_KEY', '1aaaf8fb60ea253dbf6efa71baaacbb3');
|
||||
|
||||
|
||||
?>
|
@ -8,6 +8,15 @@
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Add the security folder to the include path so that the
|
||||
* {@link http://www.openidenabled.com/ PHP OpenID library} finds its files
|
||||
*/
|
||||
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR .
|
||||
realpath(dirname(__FILE__)));
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Require the OpenID consumer code.
|
||||
*/
|
Loading…
Reference in New Issue
Block a user