1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +02:00

Correct file perms after git update.

This commit is contained in:
Cameron 2014-10-23 20:02:01 -07:00
parent 3f78a8be2d
commit 96926fe0ad

View File

@ -36,6 +36,7 @@ class _system_cron
function gitrepo()
{
$mes = e107::getMessage();
$fl = e107::getFile();
if(is_dir(e_BASE.".git")) // Check it's a Git Repo
{
@ -67,6 +68,9 @@ class _system_cron
{
$mes->addError("No git repo found"); //TODO LAN
}
$fl->chmod(e_BASE."cron.php",0755);
$fl->chmod(e_HANDLER."bounce_handler.php",0755);
}