mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
2ee7942ac0
commit
94a79bc211
2 changed files with 4 additions and 1 deletions
|
@ -104,7 +104,7 @@ php ./cli.php
|
|||
cd /var/www/html/AVideo/
|
||||
|
||||
|
||||
if [ "${SERVER_NAME}" = "localhost" ] || [ "${SERVER_NAME}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]; then
|
||||
if [[ "${SERVER_NAME}" = "localhost" ]] || [[ "${SERVER_NAME}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "Not executing certbot for ${SERVER_NAME}"
|
||||
else
|
||||
echo "entrypoint -- Running certbot for ${SERVER_NAME}"
|
||||
|
|
|
@ -745,6 +745,9 @@ class PlayList extends ObjectYPT {
|
|||
$this->clearEmptyLists();
|
||||
if(empty($this->getUsers_id()) || !PlayLists::canManageAllPlaylists()){
|
||||
$users_id = User::getId();
|
||||
if(empty($users_id)){
|
||||
return false;
|
||||
}
|
||||
$this->setUsers_id($users_id);
|
||||
}
|
||||
$this->showOnTV = intval($this->showOnTV);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue