disable migration checker if in production mode / disabled in settings
This commit is contained in:
parent
941ead4c4c
commit
f1993e9d8a
@ -5,15 +5,16 @@
|
||||
* Purpose: checks (and executes if you want) migration files for a server
|
||||
*/
|
||||
|
||||
/* ** Disable Checker If Disabled By Operator / Production Mode ** */
|
||||
#if !defined SERVER_MIGRATIONS_FOLDER || !defined DEBUG_MODE
|
||||
#endinput
|
||||
#endif
|
||||
|
||||
/* ** Includes ** */
|
||||
#include < YSI\y_hooks >
|
||||
#tryinclude < filemanager >
|
||||
|
||||
/* ** Error Checking ** */
|
||||
#if !defined SERVER_MIGRATIONS_FOLDER
|
||||
#endinput
|
||||
#endif
|
||||
|
||||
/* ** Further Error Checking ** */
|
||||
#if !defined FM_DIR
|
||||
#warning "Migration checker is disabled (Install FileManager Plugin)"
|
||||
#endinput
|
||||
|
Loading…
Reference in New Issue
Block a user