diff --git a/scripts/compile-font-repo.php b/scripts/compile-font-repo.php index 2340a83b..1f32a860 100644 --- a/scripts/compile-font-repo.php +++ b/scripts/compile-font-repo.php @@ -47,4 +47,4 @@ JAVASCRIPT; } $maintClass = 'CompileFontRepo'; -require_once DO_MAINTENANCE; +require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/scripts/generate-font-test-page.php b/scripts/generate-font-test-page.php index d892eb41..688dcdac 100644 --- a/scripts/generate-font-test-page.php +++ b/scripts/generate-font-test-page.php @@ -94,4 +94,4 @@ HTML; } $maintClass = 'GenerateFontTestPage'; -require_once DO_MAINTENANCE; +require_once RUN_MAINTENANCE_IF_MAIN;