mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Support for automated git sync with a theme repo.
This commit is contained in:
@@ -173,6 +173,19 @@ class cron_admin_ui extends e_admin_ui
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if(is_dir(e_THEME.$pref['sitetheme']."/.git"))
|
||||
{
|
||||
$cronDefaults['_system'][8] = array(
|
||||
'name' => LAN_CRON_65,
|
||||
'category' => 'update',
|
||||
'function' => 'gitrepoTheme',
|
||||
'description' => LAN_CRON_20_6."<br /><span class='label label-warning'>".LAN_WARNING."</span> ".LAN_CRON_20_8,
|
||||
// 'available' => e107::getPref('ban_retrigger')
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user