Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Problem:
- PHP Parse error: syntax error, unexpected ''function'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /home/bot/config.php on line 31
- Config:
- 'function' => "ban", #Funkcja Mass ban
- [
- 'time' => 0,
- 'reason' => 'Nowe Ip 24speak.pl',
- ]
- Core:
- if ($cfg['function']=="ban") $tsadmin->banAddByIp($cfg['function']['ip'], $cfg['function']['time'], $cfg['function']['reason']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement