mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Remove tests folder when doing a core github pull, unless developer mode is active.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user