mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-01-16 19:05:08 -05:00
20 lines
537 B
PHP
20 lines
537 B
PHP
<?php
|
|
|
|
if (!function_exists('asset_url')) {
|
|
function asset_url($asset) {
|
|
$version = '?v='.filemtime(base_path($asset)).md5_file(base_path($asset));
|
|
|
|
return asset($asset.$version);
|
|
}
|
|
}
|
|
|
|
if (!function_exists('get_ffprobe_config')) {
|
|
function get_ffprobe_config() {
|
|
return [
|
|
// 'ffmpeg.binaries' => '/opt/homebrew/bin/ffmpeg',
|
|
// 'ffprobe.binaries' => '/opt/homebrew/bin/ffprobe'
|
|
'ffprobe.binaries' => '/usr/local/bin/ffprobe',
|
|
];
|
|
}
|
|
}
|