Completed
Push — develop ( acc675...3313cf )
by Dmytro
12:18
created
index.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
 $autoloader = __DIR__.'/vendor/autoload.php';
49 49
 if (file_exists($autoloader) && is_readable($autoloader)) {
50
-	include_once($autoloader);
50
+    include_once($autoloader);
51 51
 }
52 52
 
53 53
 if(!isset($_SERVER['REQUEST_TIME_FLOAT'])) $_SERVER['REQUEST_TIME_FLOAT'] = microtime(true);
@@ -56,11 +56,11 @@  discard block
 block discarded – undo
56 56
 if(is_file($base_path . 'assets/cache/siteManager.php'))
57 57
     include_once($base_path . 'assets/cache/siteManager.php');
58 58
 if(!defined('MGR_DIR') && is_dir("{$base_path}manager"))
59
-	define('MGR_DIR', 'manager');
59
+    define('MGR_DIR', 'manager');
60 60
 if(is_file($base_path . 'assets/cache/siteHostnames.php'))
61 61
     include_once($base_path . 'assets/cache/siteHostnames.php');
62 62
 if(!defined('MODX_SITE_HOSTNAMES'))
63
-	define('MODX_SITE_HOSTNAMES', '');
63
+    define('MODX_SITE_HOSTNAMES', '');
64 64
 
65 65
 // get start time
66 66
 $mstart = memory_get_usage();
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 define('IN_PARSER_MODE', true);
86 86
 if ( ! defined('IN_MANAGER_MODE')) {
87
-	define('IN_MANAGER_MODE', false);
87
+    define('IN_MANAGER_MODE', false);
88 88
 }
89 89
 if (!defined('MODX_API_MODE')) {
90 90
     define('MODX_API_MODE', false);
@@ -108,11 +108,11 @@  discard block
 block discarded – undo
108 108
 
109 109
 // initiate a new document parser
110 110
 if (isset($coreClass) && class_exists($coreClass)) {
111
-	$modx = new $coreClass;
111
+    $modx = new $coreClass;
112 112
 }
113 113
 if (!isset($modx) || !($modx instanceof \DocumentParser)) {
114
-	include_once(MODX_MANAGER_PATH.'includes/document.parser.class.inc.php');
115
-	$modx = DocumentParser::getInstance();
114
+    include_once(MODX_MANAGER_PATH.'includes/document.parser.class.inc.php');
115
+    $modx = DocumentParser::getInstance();
116 116
 }
117 117
 
118 118
 // set some parser options
Please login to merge, or discard this patch.
install/src/controllers/install.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -770,7 +770,7 @@
 block discarded – undo
770 770
 <form name="install" id="install_form" action="index.php?action=options" method="post">
771 771
 <?php
772 772
 if ($errors == 0) {
773
-	// check if install folder is removeable
773
+    // check if install folder is removeable
774 774
     if (is_writable("../install")) { ?>
775 775
 <span id="removeinstall" style="float:left;cursor:pointer;color:#505050;line-height:18px;" onclick="var chk=document.install.rminstaller; if(chk) chk.checked=!chk.checked;"><input type="checkbox" name="rminstaller" onclick="event.cancelBubble=true;" <?php echo (empty ($errors) ? 'checked="checked"' : '') ?> style="cursor:default;" /><?php echo $_lang['remove_install_folder_auto'] ?></span>
776 776
 <?php
Please login to merge, or discard this patch.