mirror of
https://github.com/flarum/core.git
synced 2025-08-10 02:17:37 +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
d8b043dacb
commit
777579e146
@@ -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