mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Scripts
* restructure setup to allow for self contained setup steps to self register (just the sql for now) * should ease adding new scripts in future
This commit is contained in:
18
setup/tools/sqlgen/itemlimitcategory.func.php
Normal file
18
setup/tools/sqlgen/itemlimitcategory.func.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
if (!defined('AOWOW_REVISION'))
|
||||
die('illegal access');
|
||||
|
||||
if (!CLI)
|
||||
die('not in cli mode');
|
||||
|
||||
|
||||
SqlGen::register(new class extends SetupScript
|
||||
{
|
||||
use TrDBCcopy;
|
||||
|
||||
protected $command = 'itemlimitcategory';
|
||||
protected $dbcSourceFiles = ['itemlimitcategory'];
|
||||
});
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user