View difference between Paste ID: XrUC1Maj and GssnudLZ
SHOW: | | - or go back to the newest paste.
1
admin.php file content:
2
3
<?php
4
5
require 'index.php';
6
7
8
9
.htaccess content
10
11-
<FilesMatch "^admin_ci\.php">
11+
<FilesMatch "^admin\.php">
12
    php_value max_input_vars 20000
13
</FilesMatch>
14
15
... rest of the code ...
16
17
RewriteCond %{REQUEST_FILENAME} !-f
18
RewriteCond %{REQUEST_FILENAME} !-d
19
RewriteCond $1 ^admin/
20
RewriteCond $1 !^(admin\.php)
21
RewriteRule ^(.*)$ admin.php/$1 [L,QSA]
22
23
RewriteCond %{REQUEST_FILENAME} !-f
24
RewriteCond %{REQUEST_FILENAME} !-d
25
RewriteCond $1 !^(index\.php)
26
RewriteRule ^(.*)$ index.php/$1 [L,QSA]