diff --git a/appview.php b/appview.php index 08148b9..034548e 100644 --- a/appview.php +++ b/appview.php @@ -3,8 +3,8 @@ /* code to display an application */ /**********************************/ -/** - * APPLICATION ENVIRONMENT +/* + * application evironment */ include("path.php"); require(BASE."include/"."incl.php"); diff --git a/bugs.php b/bugs.php index ef7194e..5cae5ee 100644 --- a/bugs.php +++ b/bugs.php @@ -1,9 +1,11 @@ ) +/* + * application evironment + */ +include("path.php"); +require(BASE."include/"."incl.php"); +require(BASE."include/"."tableve.php"); +require(BASE."include/"."category.php"); + +/** + * Check the input of a submitted form. And output with a list + * of errors. () + */ function checkAppMaintainerInput( $fields ) { $errors = ""; @@ -21,10 +34,6 @@ function checkAppMaintainerInput( $fields ) } } -include("path.php"); -require(BASE."include/"."incl.php"); -require(BASE."include/"."tableve.php"); -require(BASE."include/"."category.php"); if(!loggedin()) { diff --git a/noteview.php b/noteview.php index a348d94..2984457 100644 --- a/noteview.php +++ b/noteview.php @@ -1,8 +1,11 @@