first commit
This commit is contained in:
20
app/Helpers/functions.php
Executable file
20
app/Helpers/functions.php
Executable file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
if(!function_exists('slider_file_path')){
|
||||
|
||||
function slider_file_path()
|
||||
{
|
||||
return \App\Models\Slider::FILE_PATH;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(!function_exists('post_file_path')){
|
||||
|
||||
function post_file_path()
|
||||
{
|
||||
return \App\Models\Post::FILE_PATH;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user