mirror of
https://github.com/flarum/core.git
synced 2025-08-04 07:27:39 +02:00
Public and base directory can be separated (#938)
* Public and base directory can be separated * Standards compliance for folders separation implementation
This commit is contained in:
committed by
Toby Zerner
parent
2229e0678b
commit
0e8e281f4b
@@ -64,7 +64,7 @@ if (! function_exists('public_path')) {
|
||||
*/
|
||||
function public_path($path = '')
|
||||
{
|
||||
return app()->make('path.public').($path ? DIRECTORY_SEPARATOR.$path : $path);
|
||||
return app()->publicPath().($path ? DIRECTORY_SEPARATOR.$path : $path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user