Advertisement
retesere20

---recyclder--234524896-allowornot

Dec 22nd, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  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. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement