Creation of auto-gen script

This commit is contained in:
2020-08-04 18:02:10 +01:00
parent baeeca06cf
commit 0900c3ba08
3 changed files with 120 additions and 0 deletions

View File

@@ -39,3 +39,15 @@ function is_signed_in() {
return false;
}
}
if (file_exists("/../includes/install.php")) {
return;
add_action( 'run_db_populate')
}
function run_db_populate() {
// all my glorious one-time-magic.
include( "/../includes/install.php" );
// after all execution rename your file;
rename( "/../includes/install.php", "/../includes/install-backup.php");
}