15 lines
357 B
PHP
Executable File
15 lines
357 B
PHP
Executable File
<?php
|
|
|
|
if (! function_exists('subdirAsset')) {
|
|
function subdirAsset($path)
|
|
{
|
|
return asset((App::environment('production') ? env('APP_DIR') : '') . '/' . $path);
|
|
}
|
|
}
|
|
if (! function_exists('subdirMix')) {
|
|
function subdirMix($path)
|
|
{
|
|
return mix((App::environment('production') ? env('APP_DIR') : '') . '/' . $path);
|
|
}
|
|
}
|