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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user