summaryrefslogtreecommitdiffstats
path: root/main.inc.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 /main.inc.php
parentb2955d2b93937913334580dfad856e7b5c18c613 (diff)
Set version for rpmphp, display version and license on index page
Diffstat (limited to 'main.inc.php')
-rw-r--r--main.inc.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/main.inc.php b/main.inc.php
index a160604..18c844f 100644
--- a/main.inc.php
+++ b/main.inc.php
@@ -1,6 +1,9 @@
<?php
+define('RPMPHP_VERSION', '1.0.0-dev');
+
require 'config.inc.php';
require '/usr/share/php/Smarty/Smarty.class.php';
+require 'FedoraClient.php';
$smarty = new Smarty();
@@ -9,8 +12,8 @@ $smarty->compile_dir = 'smarty/templates_c';
$smarty->cache_dir = 'smarty/cache';
$smarty->config_dir = 'smarty/configs';
-$ariane[] = array(
- 'url' => './',
- 'text' => 'Reports home'
+$ariane[] = array (
+ 'url' => './',
+ 'text' => 'Reports home'
);
?> \ No newline at end of file