mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
implemented generic filters
- what which index does needs to be implemented in the implementation - differences to wowhead * strings in criteria are more lenient and will also work with partial matches * the ? and * wildcards are supported
This commit is contained in:
@@ -20,7 +20,7 @@ require 'includes/class.database.php';
|
||||
|
||||
// autoload any List-Classes
|
||||
spl_autoload_register(function ($class) {
|
||||
if (strpos($class, 'List'))
|
||||
if (strpos($class, 'List') && !strpos($class, 'Filter'))
|
||||
require 'includes/class.'.strtr($class, ['List' => '']).'.php';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user