mirror of
https://github.com/pablouser1/ProxiTok.git
synced 2024-12-06 19:27:30 +01:00
Fix for heroku
This commit is contained in:
@@ -3,8 +3,10 @@ require __DIR__ . "/vendor/autoload.php";
|
||||
use Steampixel\Route;
|
||||
|
||||
// LOAD DOTENV
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->load();
|
||||
if (file_exists(__DIR__ . '/.env')) {
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->load();
|
||||
}
|
||||
|
||||
// -- HELPERS -- //
|
||||
function getSubdir(): string {
|
||||
|
||||
Reference in New Issue
Block a user