Skip to content

Commit 1e90a48

Browse files
committed
index.php commented
1 parent 8e8ba51 commit 1e90a48

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

public/index.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<?php
22
$base = dirname(__DIR__);
33
defined('SAM_DEV') or define('SAM_DEV', 'dev');//you can comment out in production
4-
defined('HOMEURL') or define('HOMEURL', '');/* /sub/folder (without an ending forward slash) when not in root*/
4+
/*
5+
* /sub/folder (without an ending forward slash) when not in root.
6+
* in production it is recommended you put other file under your web-server un-accessible directory.
7+
*/
8+
defined('HOMEURL') or define('HOMEURL', '/public');
59
include $base.'/Autoload.php';
610
include $base.'/config/main.php';
711
$app = new \mini\core\Sam($config);

public/php-info.php

-7
This file was deleted.

0 commit comments

Comments
 (0)