mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
+8
-8
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
require_once(dirname(__FILE__)."/../../bin/config.php");
|
||||
require_once (WWW_DIR.'/lib/site.php');
|
||||
require_once (WWW_DIR.'/lib/util.php');
|
||||
require_once(dirname(__FILE__) . "/../../bin/config.php");
|
||||
require_once (WWW_DIR . '/lib/site.php');
|
||||
require_once (WWW_DIR . '/lib/util.php');
|
||||
require_once(WWW_DIR . "/lib/ColorCLI.php");
|
||||
require_once(WWW_DIR.'/lib/Tmux.php');
|
||||
require_once(WWW_DIR.'/lib/smarty/Smarty.class.php');
|
||||
require_once(WWW_DIR . '/lib/Tmux.php');
|
||||
require_once(WWW_DIR . '/lib/smarty/Smarty.class.php');
|
||||
|
||||
// Function inspired by : http://stackoverflow.com/questions/1883079/best-practice-import-mysql-file-in-php-split-queries/2011454#2011454
|
||||
function SplitSQL($file, $delimiter = ';')
|
||||
@@ -79,7 +79,7 @@ function BackupDatabase()
|
||||
{
|
||||
$db = new DB();
|
||||
$c = new ColorCLI();
|
||||
$DIR = dirname (__FILE__);
|
||||
$DIR = dirname(__FILE__);
|
||||
|
||||
if (Utility::hasCommand("php5")) {
|
||||
$PHP = "php5";
|
||||
@@ -112,8 +112,8 @@ if (isset($os) && $os == "unix") {
|
||||
$db = new DB();
|
||||
$backedup = false;
|
||||
$c = new ColorCLI();
|
||||
$DIR = dirname (__FILE__);
|
||||
$path = $DIR.'/patches/';
|
||||
$DIR = dirname (__FILE__);
|
||||
$path = $DIR.'/patches/';
|
||||
|
||||
|
||||
// Open the patch folder.
|
||||
|
||||
Reference in New Issue
Block a user