batch 1 update style & dahsboard for rec.nurinda.co.id
This commit is contained in:
1 parent
9107ffb158
commit
f39aa60384
18485 files changed
+843
-2881869
No files matched your search
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$path = rawurldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
||||
if (preg_match('~(?:^|/)(?:\.\w+|dev)(?:/|$)|\.(?:sql(?:\.gz|\.zip)?|log|sh)$|^/dashboard/(?:tools|migrations)/|^/dashboard/bootstrap\.php$~i', $path) || strpos($path, '\\') !== false || strpos($path, "\0") !== false) { http_response_code(404); exit('Not found'); }
|
||||
$root=realpath(__DIR__.'/..'); $file=realpath($root.$path);
|
||||
if ($file && $file !== $root && strpos($file,$root.DIRECTORY_SEPARATOR)!==0) { http_response_code(404); exit; }
|
||||
return false;
|
||||
Reference in new issue
Block a user