Fix admin-flatfile.sp includes (#2043)
* Move admin-flatfile to plugins dir * Fix admin-flatfile sp includes
This commit is contained in:
parent
20aae06f12
commit
79787cb868
@ -24,7 +24,8 @@ files = [
|
||||
'basecommands.sp',
|
||||
'mapchooser.sp',
|
||||
'randomcycle.sp',
|
||||
'sql-admin-manager.sp'
|
||||
'sql-admin-manager.sp',
|
||||
'admin-flatfile.sp'
|
||||
]
|
||||
|
||||
spcomp_argv = [
|
||||
@ -60,7 +61,3 @@ for script_file in files:
|
||||
script_path = os.path.join(builder.currentSourcePath, script_file)
|
||||
smx_file = os.path.splitext(script_file)[0] + '.smx'
|
||||
build_plugin(script_path, smx_file)
|
||||
|
||||
# This one has to be special.
|
||||
build_plugin(os.path.join(builder.currentSourcePath, 'admin-flatfile', 'admin-flatfile.sp'),
|
||||
'admin-flatfile.smx')
|
||||
|
@ -52,10 +52,10 @@ int g_IgnoreLevel = 0; /* Nested ignored section count, so users c
|
||||
int g_CurrentLine = 0; /* Current line we're on */
|
||||
char g_Filename[PLATFORM_MAX_PATH]; /* Used for error messages */
|
||||
|
||||
#include "admin-overrides.sp"
|
||||
#include "admin-groups.sp"
|
||||
#include "admin-users.sp"
|
||||
#include "admin-simple.sp"
|
||||
#include "admin-flatfile/admin-overrides.sp"
|
||||
#include "admin-flatfile/admin-groups.sp"
|
||||
#include "admin-flatfile/admin-users.sp"
|
||||
#include "admin-flatfile/admin-simple.sp"
|
||||
|
||||
public void OnRebuildAdminCache(AdminCachePart part)
|
||||
{
|
Loading…
Reference in New Issue
Block a user