@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | $BUbasefile = "backup"; // The basefile's name. |
143 | 143 | $BUdir = "/home/project/a/c/c/acc/backups"; // The directory where backups should be stored. |
144 | -$BUmonthdir = $BUdir . "/monthly"; // The directory where monthly backups should be stored. |
|
144 | +$BUmonthdir = $BUdir."/monthly"; // The directory where monthly backups should be stored. |
|
145 | 145 | $BUdumper = "/opt/ts/mysql/5.1/bin/mysqldump --defaults-file=~/.my.cnf p_acc_live"; // Add parameters here if they are needed. |
146 | 146 | $BUgzip = "/usr/bin/gzip"; // Add the gzip parameters here if needed. |
147 | 147 | $BUtar = "/bin/tar -cvf"; // Add the tar parameters here if needed. |
@@ -279,19 +279,19 @@ discard block |
||
279 | 279 | |
280 | 280 | $cDatabaseConfig = array( |
281 | 281 | "acc" => array( |
282 | - "dsrcname" => "mysql:host=" . $toolserver_host . ";dbname=" . $toolserver_database, |
|
282 | + "dsrcname" => "mysql:host=".$toolserver_host.";dbname=".$toolserver_database, |
|
283 | 283 | "username" => $toolserver_username, |
284 | 284 | "password" => $toolserver_password, |
285 | 285 | "options" => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4'), |
286 | 286 | ), |
287 | 287 | "wikipedia" => array( |
288 | - "dsrcname" => "mysql:host=" . $antispoof_host . ";dbname=" . $antispoof_db, |
|
288 | + "dsrcname" => "mysql:host=".$antispoof_host.";dbname=".$antispoof_db, |
|
289 | 289 | "username" => $toolserver_username, |
290 | 290 | "password" => $toolserver_password, |
291 | 291 | "options" => array(), |
292 | 292 | ), |
293 | 293 | "notifications" => array( |
294 | - "dsrcname" => "mysql:host=" . $toolserver_notification_dbhost . ";dbname=" . $toolserver_notification_database, |
|
294 | + "dsrcname" => "mysql:host=".$toolserver_notification_dbhost.";dbname=".$toolserver_notification_database, |
|
295 | 295 | "username" => $notifications_username, |
296 | 296 | "password" => $notifications_password, |
297 | 297 | "options" => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4'), |
@@ -314,11 +314,11 @@ discard block |
||
314 | 314 | "openssl", // email confirmation hash gen, oauth stuff |
315 | 315 | ) as $x) {if (!extension_loaded($x)) {die("extension $x is required."); }} |
316 | 316 | |
317 | -require_once($filepath . "includes/AutoLoader.php"); |
|
317 | +require_once($filepath."includes/AutoLoader.php"); |
|
318 | 318 | |
319 | 319 | spl_autoload_register("AutoLoader::load"); |
320 | 320 | |
321 | -require_once($filepath . 'vendor/autoload.php'); |
|
321 | +require_once($filepath.'vendor/autoload.php'); |
|
322 | 322 | |
323 | 323 | // Extra includes which are just plain awkward wherever they are. |
324 | -require_once($filepath . 'oauth/OAuthUtility.php'); |
|
324 | +require_once($filepath.'oauth/OAuthUtility.php'); |