summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-05-30 09:11:52 +0200
committerRemi Collet <fedora@famillecollet.com>2010-05-30 09:11:52 +0200
commit579859d94729c8eadc96d35d1fbd4cc3fa7d4b0d (patch)
treef28da1a00195d2c5fbd4d36763df5892e3d40cc1 /index.php
parentb2955d2b93937913334580dfad856e7b5c18c613 (diff)
Set version for rpmphp, display version and license on index page
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index dc6f25a..c8cc868 100644
--- a/index.php
+++ b/index.php
@@ -70,6 +70,8 @@ try {
sprintf("%s ERREUR : %s\n", date("r"), $e->getMessage())
);
}
+$smarty->assign('rpmphp_version', RPMPHP_VERSION);
+$smarty->assign('fedcli_version', FEDORACLIENT_VERSION);
$page_content = $smarty->fetch('index.tpl');
$smarty->assign('page_content', $page_content);