Last active
June 19, 2016 17:26
-
-
Save alibo/32e9a120ca9f6ee5202c162f13476f08 to your computer and use it in GitHub Desktop.
Adjust Laravel public directory for cPanel and DirectAdmin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use Illuminate\Foundation\Application; | |
class CustomApplication extends Application | |
{ | |
/** | |
* Get the path to the public / web directory. | |
* | |
* @return string | |
*/ | |
public function publicPath() | |
{ | |
return $this->basePath.DIRECTORY_SEPARATOR.'public_html'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment