mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +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
|
||||
$dumpCommand = "mysqldump --host=$mysqlHost --port=$mysqlPort --user=$mysqlUser --password=$mysqlPass "
|
||||
. "--default-character-set=utf8mb4 $mysqlDatabase $tableList > {$file}";
|
||||
|
|
|
@ -1172,7 +1172,6 @@ class UserCacheHandler extends CacheHandler {
|
|||
|
||||
}
|
||||
|
||||
|
||||
class PlayListCacheHandler extends CacheHandler {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -4029,3 +4029,10 @@ function playChapter(seconds){
|
|||
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>
|
||||
<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) {
|
||||
var ctx = $(selector);
|
||||
var backgroundColor = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue