Skip to content
Snippets Groups Projects
Commit 46e85695 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Move config file outside web root dir

parent 5012122c
No related branches found
No related tags found
No related merge requests found
File moved
<?php
if (file_exists('config.inc.php')) {
require_once 'config.inc.php';
if (file_exists('../config.inc.php')) {
require_once '../config.inc.php';
} else {
require 'config.sample.php';
require '../config.sample.php';
}
......
<Files ~ "\.inc.php$">
Order allow,deny
Deny from all
</Files>
RewriteEngine On
RewriteBase /workspace/UNL_Procurement/www/
RewriteRule ^file([\d]+)\.jpg$ index.php?view=file&id=$1 [L]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment