1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Timezone improvements

This commit is contained in:
DanieL 2022-04-20 14:28:46 -03:00
parent 7063b62dc6
commit c36f2f7b0d
4 changed files with 45 additions and 17 deletions

View file

@ -1,10 +1,15 @@
<?php
function _isAPPInstalled($appName)
{
function _isAPPInstalled($appName){
$appName = preg_replace('/[^a-z0-9_-]/i', '', $appName);
return trim(shell_exec("which {$appName}"));
}
//socket
// live
$phpExtensions = [];
$phpExtensions[] = ['pdo_mysql'];
$phpExtensions[] = ['curl'];