1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 14:42:31 +01:00
flox/backend/app/helpers.php
Viktor Geringer 7544dbb688 display release dates for episodes (#58)
* remove laravel scout

* misc

* refactor with helper function and php 7

* display and refresh relases

* add translations

* add migration test

* remove refresh release dates

* update production files

* remove laravel scout fragments
2017-03-04 02:01:50 +01:00

13 lines
195 B
PHP

<?php
const FIVE_MINUTES = 300;
function increaseTimeLimit()
{
set_time_limit(FIVE_MINUTES);
}
function getFileName($file)
{
return $file->changed->name ?? $file->name;
}