diff options
-rw-r--r-- | .htaccess | 7 | ||||
-rw-r--r-- | index.php | 12 | ||||
-rw-r--r-- | ratatoeskr/.htaccess | 4 | ||||
-rw-r--r-- | ratatoeskr/backend/main.php | 0 | ||||
-rw-r--r-- | ratatoeskr/plugin_extradata/.htaccess | 4 | ||||
-rw-r--r-- | ratatoeskr/templates/.htaccess | 4 |
6 files changed, 29 insertions, 2 deletions
@@ -0,0 +1,7 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^(.+) - [PT,L] + +RewriteRule (.*) index.php/$1 [L] @@ -1,7 +1,15 @@ <?php -header("Content-Type: text/text"); +/*require_once(dirname(__FILE__) . "/ratatoeskr/main.php"); +ratatoeskr();*/ +header("Content-type: text/plain"); +print "\$_POST:\n"; +print_r($_POST); +print "\n\n\$_GET:\n"; +print_r($_GET); +print "\n\n\$_REQUEST:\n"; print_r($_REQUEST); - +print "\n\n\$_SERVER:\n"; +print_r($_SERVER); ?> diff --git a/ratatoeskr/.htaccess b/ratatoeskr/.htaccess new file mode 100644 index 0000000..dec4e25 --- /dev/null +++ b/ratatoeskr/.htaccess @@ -0,0 +1,4 @@ +<FilesMatch "\.php$"> + Order Allow,Deny + Deny from all +</FilesMatch> diff --git a/ratatoeskr/backend/main.php b/ratatoeskr/backend/main.php new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ratatoeskr/backend/main.php diff --git a/ratatoeskr/plugin_extradata/.htaccess b/ratatoeskr/plugin_extradata/.htaccess new file mode 100644 index 0000000..19469bf --- /dev/null +++ b/ratatoeskr/plugin_extradata/.htaccess @@ -0,0 +1,4 @@ +<Files *> + Order Allow,Deny + Deny from all +</Files> diff --git a/ratatoeskr/templates/.htaccess b/ratatoeskr/templates/.htaccess new file mode 100644 index 0000000..19469bf --- /dev/null +++ b/ratatoeskr/templates/.htaccess @@ -0,0 +1,4 @@ +<Files *> + Order Allow,Deny + Deny from all +</Files> |