Changeset 21303
- Timestamp:
- Mar 7, 2013, 12:40:18 AM (11 years ago)
- Location:
- extensions/oAuth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/admin.php
r20324 r21303 6 6 if (!$conf['allow_user_registration']) 7 7 { 8 array_push($page[' errors'], l10n('Users are not allowed to register on your gallery. OAuth will not work correctly.'));8 array_push($page['warnings'], l10n('Users are not allowed to register on your gallery. OAuth will not work correctly.')); 9 9 } 10 10 -
extensions/oAuth/main.inc.php
r20369 r21303 106 106 if (defined('IN_ADMIN')) 107 107 { 108 if ( empty($hybridauth_conf) and @$_GET['page'] != 'plugin-'.OAUTH_ID)108 if ( empty($hybridauth_conf) and strpos(@$_GET['page'],'plugin-'.OAUTH_ID)===false ) 109 109 { 110 array_push($page[' errors'], l10n('OAuth: You need to configure the credentials'));110 array_push($page['warnings'], l10n('OAuth: You need to configure the credentials')); 111 111 } 112 112 if (!function_exists('curl_init')) 113 113 { 114 array_push($page[' errors'], l10n('OAuth: PHP Curl extension is needed'));114 array_push($page['warnings'], l10n('OAuth: PHP Curl extension is needed')); 115 115 } 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.