retesere20

---recyclder--234524896-allowornot

Dec 22nd, 2018
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. /*
  4. if($allow){
  5. $files= array();
  6. $target_dir = __DIR__.'/'.$plugin_name;
  7. if(is_dir($target_dir)){
  8. foreach( array_filter(glob($target_dir.'/*'), 'is_file') as $eachFile ){
  9. $files[basename($eachFile)] = file_get_contents($eachFile);
  10. }
  11. }
  12. $array['files'] = $files;
  13. }
  14. */
RAW Paste Data