Browse Source

Configured local server to act like main one

pull/1/head
falkTX 11 years ago
parent
commit
06bd10d210
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      .htaccess
  2. +2
    -2
      includes/header.php

+ 1
- 1
.htaccess View File

@@ -19,4 +19,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]

+ 2
- 2
includes/header.php View File

@@ -1,12 +1,12 @@
<?php
$SHOW_NOTE = TRUE;

if (file_exists("/home/falktx/FOSS/GIT-mine/kxstudio-web"))
/*if (file_exists("/home/falktx/FOSS/GIT-mine/kxstudio-web"))
{
$ROOT = "/kxstudio";
$SHOW_NOTE = FALSE;
}
else
else*/
{
$ROOT = "";
$SHOW_NOTE = FALSE;


Loading…
Cancel
Save