1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Remove tests folder when doing a core github pull, unless developer mode is active.

This commit is contained in:
Cameron 2019-12-29 12:45:35 -08:00
parent b26c0abfbb
commit 8270c5cf42

View File

@ -54,6 +54,11 @@ class _system_cron
{
$mes->addDebug("Removed install.php");
}
if(!deftrue('e_DEVELOPER')) // leave tests folder intact if developer mode is active.
{
$fl->removeDir(e_BASE.'e107_tests');
}
}
else
{