Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- if($allow){
- $files= array();
- $target_dir = __DIR__.'/'.$plugin_name;
- if(is_dir($target_dir)){
- foreach( array_filter(glob($target_dir.'/*'), 'is_file') as $eachFile ){
- $files[basename($eachFile)] = file_get_contents($eachFile);
- }
- }
- $array['files'] = $files;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement