diff --git a/.htaccess b/.htaccess index 10e98fc..5c21981 100644 --- a/.htaccess +++ b/.htaccess @@ -4,4 +4,4 @@ RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f -RewriteRule ^(.*)$ /$1.php [L,QSA] +RewriteRule ^(.*)$ $1.php [L,QSA] diff --git a/inc_header.php b/inc_header.php index 268fb1a..633c7f4 100644 --- a/inc_header.php +++ b/inc_header.php @@ -14,7 +14,7 @@ function changeColor() exit(); } -if (file_exists("/home/falk2/")) +if (file_exists("/Shared/Personal/FOSS/")) $ROOT = "/distrho"; else $ROOT = ""; diff --git a/plugins.php b/plugins.php index 7a208d8..7cd0693 100644 --- a/plugins.php +++ b/plugins.php @@ -26,10 +26,10 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php";
diff --git a/ports.php b/ports.php index ca9d1a5..24dca8c 100644 --- a/ports.php +++ b/ports.php @@ -22,8 +22,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -46,8 +46,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -73,8 +73,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -99,8 +99,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -131,8 +131,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -156,8 +156,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -179,8 +179,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -203,8 +203,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -226,8 +226,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -258,8 +258,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -280,8 +280,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php"; @@ -303,8 +303,8 @@ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc_header.php";