+8
-2
@@ -8,11 +8,17 @@
|
|||||||
* If you move the public folder, or all the files in the public folder,
|
* If you move the public folder, or all the files in the public folder,
|
||||||
* be sure to change this to point to the right place. View these docs:
|
* be sure to change this to point to the right place. View these docs:
|
||||||
*
|
*
|
||||||
* http://docs.phpvms.net/setup/installation/cpanel-setup
|
* https://docs.phpvms.net/installation/installation
|
||||||
*/
|
*/
|
||||||
$path_to_phpvms_folder = __DIR__.'/../';
|
$path_to_phpvms_folder = __DIR__.'/../';
|
||||||
|
if (file_exists($path_to_phpvms_folder.'/bootstrap/autoload.php')) {
|
||||||
|
require $path_to_phpvms_folder.'/bootstrap/autoload.php';
|
||||||
|
}
|
||||||
|
|
||||||
require $path_to_phpvms_folder.'/bootstrap/autoload.php';
|
// Look up one more folder up (outside of the Laravel root) and in the `phpvms` subfolder
|
||||||
|
elseif (file_exists($path_to_phpvms_folder.'/../phpvms/bootstrap/autoload.php')) {
|
||||||
|
require $path_to_phpvms_folder.'/../phpvms/bootstrap/autoload.php';
|
||||||
|
}
|
||||||
|
|
||||||
$app = require_once $path_to_phpvms_folder.'/bootstrap/app.php';
|
$app = require_once $path_to_phpvms_folder.'/bootstrap/app.php';
|
||||||
$app->setPublicPath(__DIR__);
|
$app->setPublicPath(__DIR__);
|
||||||
|
|||||||
Reference in New Issue
Block a user