mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
b39e5f4da6
commit
5d2aa61c4f
4 changed files with 11 additions and 8 deletions
|
@ -32,6 +32,10 @@ foreach ($row as $value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(empty($mysqlPort)){
|
||||||
|
$mysqlPort = 3306;
|
||||||
|
}
|
||||||
|
|
||||||
// Use the mysqldump command to get the database dump
|
// Use the mysqldump command to get the database dump
|
||||||
$dumpCommand = "mysqldump --host=$mysqlHost --port=$mysqlPort --user=$mysqlUser --password=$mysqlPass "
|
$dumpCommand = "mysqldump --host=$mysqlHost --port=$mysqlPort --user=$mysqlUser --password=$mysqlPass "
|
||||||
. "--default-character-set=utf8mb4 $mysqlDatabase $tableList > {$file}";
|
. "--default-character-set=utf8mb4 $mysqlDatabase $tableList > {$file}";
|
||||||
|
|
|
@ -1172,7 +1172,6 @@ class UserCacheHandler extends CacheHandler {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class PlayListCacheHandler extends CacheHandler {
|
class PlayListCacheHandler extends CacheHandler {
|
||||||
|
|
||||||
private $id;
|
private $id;
|
||||||
|
|
|
@ -4028,4 +4028,11 @@ function playChapter(seconds){
|
||||||
newURL = addQueryStringParameter(currentURL, 't', seconds);
|
newURL = addQueryStringParameter(currentURL, 't', seconds);
|
||||||
history.replaceState({}, "", newURL);
|
history.replaceState({}, "", newURL);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function randomColor() {
|
||||||
|
var r = Math.floor(Math.random() * 255);
|
||||||
|
var g = Math.floor(Math.random() * 255);
|
||||||
|
var b = Math.floor(Math.random() * 255);
|
||||||
|
return r + "," + g + "," + b;
|
||||||
}
|
}
|
|
@ -237,13 +237,6 @@
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
function randomColor() {
|
|
||||||
var r = Math.floor(Math.random() * 255);
|
|
||||||
var g = Math.floor(Math.random() * 255);
|
|
||||||
var b = Math.floor(Math.random() * 255);
|
|
||||||
return r + "," + g + "," + b;
|
|
||||||
}
|
|
||||||
|
|
||||||
function createGraph(labels, data, selector) {
|
function createGraph(labels, data, selector) {
|
||||||
var ctx = $(selector);
|
var ctx = $(selector);
|
||||||
var backgroundColor = [];
|
var backgroundColor = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue