Completed
Push — sessionstart ( 39f8f4...30f151 )
by Simon
15:26 queued 13:05
created
config.inc.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
 $BUbasefile = "backup"; // The basefile's name.
140 140
 $BUdir = "/home/project/a/c/c/acc/backups"; // The directory where backups should be stored.
141
-$BUmonthdir = $BUdir . "/monthly"; // The directory where monthly backups should be stored.
141
+$BUmonthdir = $BUdir."/monthly"; // The directory where monthly backups should be stored.
142 142
 $BUdumper = "/opt/ts/mysql/5.1/bin/mysqldump --defaults-file=~/.my.cnf p_acc_live"; // Add parameters here if they are needed.
143 143
 $BUgzip = "/usr/bin/gzip"; // Add the gzip parameters here if needed.
144 144
 $BUtar = "/bin/tar -cvf"; // Add the tar parameters here if needed.
@@ -276,19 +276,19 @@  discard block
 block discarded – undo
276 276
 
277 277
 $cDatabaseConfig = array(
278 278
 	"acc" => array(
279
-		"dsrcname" => "mysql:host=" . $toolserver_host . ";dbname=" . $toolserver_database,
279
+		"dsrcname" => "mysql:host=".$toolserver_host.";dbname=".$toolserver_database,
280 280
 		"username" => $toolserver_username,
281 281
 		"password" => $toolserver_password,
282 282
 		"options"  => array(),
283 283
 	),
284 284
 	"wikipedia" => array(
285
-		"dsrcname" => "mysql:host=" . $antispoof_host . ";dbname=" . $antispoof_db,
285
+		"dsrcname" => "mysql:host=".$antispoof_host.";dbname=".$antispoof_db,
286 286
 		"username" => $toolserver_username,
287 287
 		"password" => $toolserver_password,
288 288
 		"options"  => array(),
289 289
 	),
290 290
 	"notifications" => array(
291
-		"dsrcname" => "mysql:host=" . $toolserver_notification_dbhost . ";dbname=" . $toolserver_notification_database,
291
+		"dsrcname" => "mysql:host=".$toolserver_notification_dbhost.";dbname=".$toolserver_notification_database,
292 292
 		"username" => $notifications_username,
293 293
 		"password" => $notifications_password,
294 294
 		"options"  => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4'),
@@ -311,11 +311,11 @@  discard block
 block discarded – undo
311 311
 	"mcrypt", "openssl", // password encryption etc
312 312
 	) as $x) {if (!extension_loaded($x)) {die("extension $x is required."); }}
313 313
 
314
-require_once($filepath . "includes/AutoLoader.php");
314
+require_once($filepath."includes/AutoLoader.php");
315 315
 
316 316
 spl_autoload_register("AutoLoader::load");
317 317
 
318 318
 // Extra includes which are just plain awkward wherever they are.
319
-require_once($filepath . 'oauth/OAuthUtility.php');
320
-require_once($filepath . 'lib/mediawiki-extensions-OAuth/lib/OAuth.php');
321
-require_once($filepath . 'lib/mediawiki-extensions-OAuth/lib/JWT.php');
319
+require_once($filepath.'oauth/OAuthUtility.php');
320
+require_once($filepath.'lib/mediawiki-extensions-OAuth/lib/OAuth.php');
321
+require_once($filepath.'lib/mediawiki-extensions-OAuth/lib/JWT.php');
Please login to merge, or discard this patch.