|
|
|
|
|
by sarciszewski
4248 days ago
|
|
Just a tip, load as much as you can get away with (configuration, ESPECIALLY) outside of your webroot. BAD: * /var/www/config/mysql.json * /var/www/static/site.css * /var/www/index.php * $_SERVER['DOCUMENT_ROOT'] = '/var/www'; GOOD: * /var/www/config/mysql.json * /var/www/public/static/site.css * /var/www/public/index.php * $_SERVER['DOCUMENT_ROOT'] = '/var/www/public'; |
|