Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function iwadCheck($files)
- {
- foreach ($files as $check)
- {
- if (preg_match ("/.zip\b/i", $check))
- {
- $zip_o = shell_exec("/home/nukelol/nukelol.com/again/uber/iwad_zip.sh $check");
- if ($zip_o = 1)
- {
- return 1;
- }
- }
- elseif (preg_match ("/.7z\b/i", $check))
- {
- $sevenz_o = shell_exec("/home/nukelol/nukelol.com/again/uber/iwad_7z.sh $check");
- if ($sevenz_o = 1)
- {
- return 1;
- }
- }
- else
- {
- return 0;
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement