mirror of
https://github.com/devfake/flox.git
synced 2024-11-15 14:42:31 +01:00
7544dbb688
* 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
13 lines
195 B
PHP
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;
|
|
} |