From 7ca31726ed18b70c04eb606e081df20aa63e9c06 Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 26 Jul 2006 21:29:21 +0000 Subject: [PATCH] Resolved Issue ID 0000474 (Step 2): o Add .htaccess files => * admin - .htaccess = deny from all * doc - no .htaccess * galleries - .htaccess = Options -Indexes * include - .htaccess = deny from all => move 2 .js in template-common * install - .htaccess = deny from all * language - .htaccess = deny from all * template - .htaccess = Options -Indexes * template-common - .htaccess = Options -Indexes * template-extension - .htaccess = Options -Indexes * tools - no .htaccess git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/.htaccess | 1 + include/.htaccess | 1 + install/.htaccess | 1 + language/.htaccess | 1 + template-common/.htaccess | 2 ++ {include => template-common}/pngfix.js | 0 {include => template-common}/scripts.js | 0 template-extension/.htaccess | 2 ++ template/.htaccess | 2 ++ template/yoga/header.tpl | 4 ++-- 10 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 admin/.htaccess create mode 100644 include/.htaccess create mode 100644 install/.htaccess create mode 100644 language/.htaccess create mode 100644 template-common/.htaccess rename {include => template-common}/pngfix.js (100%) rename {include => template-common}/scripts.js (100%) create mode 100644 template-extension/.htaccess create mode 100644 template/.htaccess diff --git a/admin/.htaccess b/admin/.htaccess new file mode 100644 index 000000000..8d2f25636 --- /dev/null +++ b/admin/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/include/.htaccess b/include/.htaccess new file mode 100644 index 000000000..8d2f25636 --- /dev/null +++ b/include/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/install/.htaccess b/install/.htaccess new file mode 100644 index 000000000..8d2f25636 --- /dev/null +++ b/install/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/language/.htaccess b/language/.htaccess new file mode 100644 index 000000000..8d2f25636 --- /dev/null +++ b/language/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/template-common/.htaccess b/template-common/.htaccess new file mode 100644 index 000000000..eee07900b --- /dev/null +++ b/template-common/.htaccess @@ -0,0 +1,2 @@ +Options -Indexes + diff --git a/include/pngfix.js b/template-common/pngfix.js similarity index 100% rename from include/pngfix.js rename to template-common/pngfix.js diff --git a/include/scripts.js b/template-common/scripts.js similarity index 100% rename from include/scripts.js rename to template-common/scripts.js diff --git a/template-extension/.htaccess b/template-extension/.htaccess new file mode 100644 index 000000000..eee07900b --- /dev/null +++ b/template-extension/.htaccess @@ -0,0 +1,2 @@ +Options -Indexes + diff --git a/template/.htaccess b/template/.htaccess new file mode 100644 index 000000000..eee07900b --- /dev/null +++ b/template/.htaccess @@ -0,0 +1,2 @@ +Options -Indexes + diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index 1684c6cd1..06d47a827 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -22,7 +22,7 @@ the "text/nonsense" prevents gecko based browsers to load it --> {GALLERY_TITLE}:{PAGE_TITLE} - + } FORM { behavior: url("{pwg_root}template-common/inputfix.htc"); } - +