1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +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() function gitrepo()
{ {
$mes = e107::getMessage(); $mes = e107::getMessage();
$fl = e107::getFile();
if(is_dir(e_BASE.".git")) // Check it's a Git Repo 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 $mes->addError("No git repo found"); //TODO LAN
} }
$fl->chmod(e_BASE."cron.php",0755);
$fl->chmod(e_HANDLER."bounce_handler.php",0755);
} }