Completed
Push — master ( 7ca2d5...d7c0d7 )
by Nazar
04:47
created
install/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
 	if (isset($_POST['site_url'])) {
121 121
 		$url = $_POST['site_url'];
122 122
 	} else {
123
-		$https  = @$_SERVER['HTTPS'] ? $_SERVER['HTTPS'] !== 'off' : (
123
+		$https = @$_SERVER['HTTPS'] ? $_SERVER['HTTPS'] !== 'off' : (
124 124
 			@$_SERVER['REQUEST_SCHEME'] === 'https' ||
125 125
 			@$_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https'
126 126
 		);
Please login to merge, or discard this patch.
core/functions.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
 		 * Try to load classes from different places. If not found in one place - try in another.
48 48
 		 */
49 49
 		if (
50
-			_require_once($file = DIR."/core/classes/$namespace/$class_name.php", false) ||    //Core classes
50
+			_require_once($file = DIR."/core/classes/$namespace/$class_name.php", false) || //Core classes
51 51
 			_require_once($file = DIR."/core/thirdparty/$namespace/$class_name.php", false) || //Third party classes
52
-			_require_once($file = DIR."/core/traits/$namespace/$class_name.php", false) ||     //Core traits
53
-			_require_once($file = ENGINES."/$namespace/$class_name.php", false) ||             //Core engines
54
-			_require_once($file = MODULES."/../$namespace/$class_name.php", false) ||          //Classes in modules
52
+			_require_once($file = DIR."/core/traits/$namespace/$class_name.php", false) || //Core traits
53
+			_require_once($file = ENGINES."/$namespace/$class_name.php", false) || //Core engines
54
+			_require_once($file = MODULES."/../$namespace/$class_name.php", false) || //Classes in modules
55 55
 			_require_once($file = PLUGINS."/../$namespace/$class_name.php", false)             //Classes in plugins
56 56
 		) {
57 57
 			$cache[$class] = realpath($file);
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
 			]
437 437
 		];
438 438
 	};
439
-	$output           = [];
439
+	$output = [];
440 440
 	if ($total <= 11) {
441 441
 		for ($i = 1; $i <= $total; ++$i) {
442 442
 			$output[] = $render_page_item($i);
Please login to merge, or discard this patch.