11 lines
307 B
PHP
11 lines
307 B
PHP
<?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);
|
|
}
|
|
} |