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:
parent
b26c0abfbb
commit
8270c5cf42
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user