This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(".")); | |
| foreach($iterator as $fileInfo){ | |
| if($fileInfo->isFile()){ | |
| $path = $fileInfo->getPathname(); | |
| file_put_contents($path, str_replace("\r\n", "\n", file_get_contents($path), $count)); | |
| if($count > 0){ | |
| echo $path . ": " . $count . "\n"; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Nerahikada; | |
| use pocketmine\event\player\PlayerJoinEvent; | |
| use pocketmine\event\Listener; | |
| use pocketmine\plugin\PluginBase; | |
| class unknown extends PluginBase implements Listener{ |
NewerOlder