Completed
Push — master ( d4da57...736ee5 )
by Nazar
04:18
created
components/modules/OAuth2/authorize.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   OAuth2
4
- * @category  modules
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+		 * @package   OAuth2
4
+		 * @category  modules
5
+		 * @author    Nazar Mokrynskyi <[email protected]>
6
+		 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
+		 * @license   MIT License, see license.txt
8
+		 */
9 9
 /**
10
- * Provides next events:<br>
11
- *  OAuth2/custom_sign_in_page
12
- *  OAuth2/custom_allow_access_page
13
- */
10
+		 * Provides next events:<br>
11
+		 *  OAuth2/custom_sign_in_page
12
+		 *  OAuth2/custom_allow_access_page
13
+		 */
14 14
 namespace cs\modules\OAuth2;
15 15
 use
16 16
 	h,
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
 $L      = new Prefix('oauth2_');
44 44
 $Page   = Page::instance();
45 45
 /**
46
- * Errors processing
47
- */
46
+	 * Errors processing
47
+	 */
48 48
 if (!isset($_GET['client_id'])) {
49 49
 	error_redirect('invalid_request', 'client_id parameter required');
50 50
 	return;
@@ -112,8 +112,8 @@  discard block
 block discarded – undo
112 112
 	}
113 113
 }
114 114
 /**
115
- * guest_token should return JSON data while all other works with redirects
116
- */
115
+	 * guest_token should return JSON data while all other works with redirects
116
+	 */
117 117
 if ($_GET['response_type'] != 'guest_token') {
118 118
 	if (!isset($_GET['redirect_uri'])) {
119 119
 		$e = new ExitException(
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
 	}
187 187
 }
188 188
 /**
189
- * Authorization processing
190
- */
189
+	 * Authorization processing
190
+	 */
191 191
 if (isset($_POST['mode'])) {
192 192
 	switch ($_POST['mode']) {
193 193
 		case 'allow':
Please login to merge, or discard this patch.
core/functions_global.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   CleverStyle CMS
4
- * @author    Nazar Mokrynskyi <[email protected]>
5
- * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
6
- * @license   MIT License, see license.txt
7
- */
3
+	 * @package   CleverStyle CMS
4
+	 * @author    Nazar Mokrynskyi <[email protected]>
5
+	 * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
6
+	 * @license   MIT License, see license.txt
7
+	 */
8 8
 /**
9
- * Base system functions, do not edit this file, or make it very carefully
10
- * otherwise system workability may be broken
11
- *
12
- * This particular file contains functions that work with global state (cookies, headers, status codes, etc.)
13
- */
9
+	 * Base system functions, do not edit this file, or make it very carefully
10
+	 * otherwise system workability may be broken
11
+	 *
12
+	 * This particular file contains functions that work with global state (cookies, headers, status codes, etc.)
13
+	 */
14 14
 use
15 15
 	cs\Config,
16 16
 	cs\Request,
Please login to merge, or discard this patch.
components/modules/OAuth2/token.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   OAuth2
4
- * @category  modules
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   OAuth2
4
+	 * @category  modules
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs\modules\OAuth2;
10 10
 
11 11
 use
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
 	->header('pragma', 'no-cache');
21 21
 interface_off();
22 22
 /**
23
- * Errors processing
24
- */
23
+	 * Errors processing
24
+	 */
25 25
 $Config = Config::instance();
26 26
 $Page   = Page::instance();
27 27
 if (!isset($_POST['grant_type'])) {
@@ -141,8 +141,8 @@  discard block
 block discarded – undo
141 141
 	throw $e;
142 142
 }
143 143
 /**
144
- * Tokens operations processing
145
- */
144
+	 * Tokens operations processing
145
+	 */
146 146
 switch ($_POST['grant_type']) {
147 147
 	case 'authorization_code':
148 148
 		if (!isset($_POST['code'])) {
Please login to merge, or discard this patch.
themes/CleverStyle/prepare.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package		CleverStyle CMS
4
- * @subpackage	CleverStyle theme
5
- * @author		Nazar Mokrynskyi <[email protected]>
6
- * @copyright	Copyright (c) 2013-2016, Nazar Mokrynskyi
7
- * @license		MIT License, see license.txt
8
- */
3
+	 * @package		CleverStyle CMS
4
+	 * @subpackage	CleverStyle theme
5
+	 * @author		Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright	Copyright (c) 2013-2016, Nazar Mokrynskyi
7
+	 * @license		MIT License, see license.txt
8
+	 */
9 9
 namespace	cs;
10 10
 if (preg_match('/msie|trident/i', Request::instance()->user_agent)) {
11 11
 	Page::instance()->Head	.= '<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">';
Please login to merge, or discard this patch.
themes/DarkEnergy/prepare.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package    CleverStyle CMS
4
- * @subpackage DarkEnergy theme
5
- * @author     Nazar Mokrynskyi <[email protected]>
6
- * @copyright  Copyright (c) 2014-2016, Nazar Mokrynskyi
7
- * @license    MIT License, see license.txt
8
- */
3
+	 * @package    CleverStyle CMS
4
+	 * @subpackage DarkEnergy theme
5
+	 * @author     Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright  Copyright (c) 2014-2016, Nazar Mokrynskyi
7
+	 * @license    MIT License, see license.txt
8
+	 */
9 9
 namespace cs;
10 10
 $Page = Page::instance();
11 11
 if (preg_match('/msie|trident/i', Request::instance()->user_agent)) {
Please login to merge, or discard this patch.