summary refs log tree commit diff stats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rwxr-xr-xpages/admin.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/pages/admin.php b/pages/admin.php index 90e540a..579feed 100755 --- a/pages/admin.php +++ b/pages/admin.php
@@ -683,6 +683,15 @@ if (isLoggedIn())
683 $template->add('BACK', 'the previous page'); 683 $template->add('BACK', 'the previous page');
684 $template->add('MSG', 'I\'m sorry, but this pending quote doesn\'t exist.'); 684 $template->add('MSG', 'I\'m sorry, but this pending quote doesn\'t exist.');
685 } 685 }
686 } else if ($_GET['page'] == 'hgUpdate')
687 {
688 $template = new FITemplate('msg');
689 $template->add('BACK', 'the Admin Panel');
690
691 ob_start();
692 system('hg update');
693 $template->add('MSG', ob_get_contents());
694 ob_end_clean();
686 } else { 695 } else {
687 generateError(404); 696 generateError(404);
688 } 697 }