mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Fix ChatPage
This commit is contained in:
parent
9d637efa15
commit
2c6a5c0c69
@ -138,7 +138,7 @@ public function readParameters() {
|
|||||||
*/
|
*/
|
||||||
public function readCommands() {
|
public function readCommands() {
|
||||||
$regex = new \wcf\system\Regex('Command.class.php$');
|
$regex = new \wcf\system\Regex('Command.class.php$');
|
||||||
$directory = \wcf\utilDirectoryUtil::getInstance(CHAT_DIR.'lib/system/command/commands/', false);
|
$directory = \wcf\util\DirectoryUtil::getInstance(CHAT_DIR.'lib/system/command/commands/', false);
|
||||||
$files = $directory->getFiles(SORT_ASC, $regex);
|
$files = $directory->getFiles(SORT_ASC, $regex);
|
||||||
|
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user