Fix resource header, add version header
Fix resource header, add version header

--- a/include/Resource.class.php
+++ b/include/Resource.class.php
@@ -18,10 +18,9 @@
 define('GITPHP_LOCALE_COOKIE', 'GitPHPLocale');
 
 /**
- * Resource
+ * Resource factory class
  *
  * @package GitPHP
- * @subpackage Resource
  */
 class GitPHP_Resource
 {

--- a/include/version.php
+++ b/include/version.php
@@ -1,13 +1,22 @@
 <?php
-/*
- *  version.php
- *  gitphp: A PHP git repository browser
- *  Component: Version
+/**
+ * GitPHP version
  *
- *  Copyright (C) 2008 Christopher Han <xiphux@gmail.com>
+ * Version header
+ *
+ * @author Christopher Han <xiphux@gmail.com>
+ * @copyright Copyright (c) 2008-2010 Christopher Han
+ * @package GitPHP
  */
 
+/**
+ * Defines the version
+ */
 $gitphp_version = "0.2.1";
+
+/**
+ * Defines the app string (app name and version)
+ */
 $gitphp_appstring = "gitphp $gitphp_version";
 
 ?>

comments