Clean up includes. Make 'path.php' and 'incl.php' required includes. Switch to using
require_once() for including files in /include so we can have include/*.php files include their own dependencies rather than figuring out that to include A.php we need to include B.php
This commit is contained in:
@@ -18,10 +18,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/mail.php");
|
||||||
|
|
||||||
// set http header to not cache
|
// set http header to not cache
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
|
|||||||
@@ -12,11 +12,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/comment.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
// you must be logged in to submit comments
|
// you must be logged in to submit comments
|
||||||
if(!$_SESSION['current']->isLoggedIn())
|
if(!$_SESSION['current']->isLoggedIn())
|
||||||
|
|||||||
@@ -3,10 +3,9 @@
|
|||||||
/* Add Application Note */
|
/* Add Application Note */
|
||||||
/************************/
|
/************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/note.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,13 @@
|
|||||||
/* code to view and approve new application data */
|
/* code to view and approve new application data */
|
||||||
/********************************************************/
|
/********************************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/mail.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
|
require_once(BASE."include/version.php");
|
||||||
|
require_once(BASE."include/user.php");
|
||||||
|
|
||||||
$aClean = array(); //array of user input
|
$aClean = array(); //array of user input
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,10 @@
|
|||||||
/* code to View and approve new Apps */
|
/* code to View and approve new Apps */
|
||||||
/*************************************/
|
/*************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
require_once(BASE."include/testResults.php");
|
require_once(BASE."include/testResults.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|||||||
@@ -6,10 +6,9 @@
|
|||||||
/*
|
/*
|
||||||
* application environment
|
* application environment
|
||||||
*/
|
*/
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/bug.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
/* code to View and approve new application maintainers */
|
/* code to View and approve new application maintainers */
|
||||||
/********************************************************/
|
/********************************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
require(BASE."include/maintainer.php");
|
require_once(BASE."include/maintainer.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/mail.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/*
|
/*
|
||||||
* application environment
|
* application environment
|
||||||
*/
|
*/
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
include("path.php");
|
include("path.php");
|
||||||
include(BASE."include/incl.php");
|
include(BASE."include/incl.php");
|
||||||
require_once(BASE."include/screenshot.php");
|
require_once(BASE."include/screenshot.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
/* code to View and resubmit Apps */
|
/* code to View and resubmit Apps */
|
||||||
/*************************************/
|
/*************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/version.php");
|
||||||
require_once(BASE."include/testResults.php");
|
require_once(BASE."include/testResults.php");
|
||||||
require_once(BASE."include/distributions.php");
|
require_once(BASE."include/distributions.php");
|
||||||
|
|
||||||
|
|||||||
@@ -6,11 +6,10 @@
|
|||||||
/*
|
/*
|
||||||
* application environment
|
* application environment
|
||||||
*/
|
*/
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require_once(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require_once(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
require_once(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require_once(BASE."include/mail.php");
|
|
||||||
require_once(BASE."include/monitor.php");
|
require_once(BASE."include/monitor.php");
|
||||||
require_once(BASE."include/testResults.php");
|
require_once(BASE."include/testResults.php");
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,11 @@
|
|||||||
/* Edit application family */
|
/* Edit application family */
|
||||||
/**********************************/
|
/**********************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,9 @@
|
|||||||
/* Edit AppNote */
|
/* Edit AppNote */
|
||||||
/****************/
|
/****************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/note.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/version.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/distributions.php");
|
require_once(BASE."include/distributions.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require_once(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require_once(BASE."include/vendor.php");
|
require_once(BASE."include/vendor.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/version.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,9 @@
|
|||||||
/* code to View and resubmit Apps */
|
/* code to View and resubmit Apps */
|
||||||
/*************************************/
|
/*************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require_once(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
|
|
||||||
|
|
||||||
util_redirect_and_exit(BASE."appsubmit.php");
|
|
||||||
|
|
||||||
|
util_redirect_and_exit(BASE."appsubmit.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/"."incl.php");
|
require(BASE."include/"."incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/"."appdb.php");
|
require_once(BASE."include/"."appdb.php");
|
||||||
require(BASE."include/"."category.php");
|
require_once(BASE."include/"."category.php");
|
||||||
|
|
||||||
function admin_menu()
|
function admin_menu()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,10 +3,9 @@
|
|||||||
/* Code to view all kinds of interesting statistics about appdb */
|
/* Code to view all kinds of interesting statistics about appdb */
|
||||||
/****************************************************************/
|
/****************************************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/user.php");
|
||||||
require(BASE."include/maintainer.php");
|
|
||||||
|
|
||||||
apidb_header("Appdb Statistics");
|
apidb_header("Appdb Statistics");
|
||||||
echo html_frame_start("","60%","",0);
|
echo html_frame_start("","60%","",0);
|
||||||
|
|||||||
@@ -12,11 +12,10 @@
|
|||||||
* TODO:
|
* TODO:
|
||||||
* - rename and document sREQUEST_METHOD
|
* - rename and document sREQUEST_METHOD
|
||||||
* - replace iId with iScreenshotId
|
* - replace iId with iScreenshotId
|
||||||
* - replace require_once with require after checking that it doesn't break anything
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require_once(BASE."include/screenshot.php");
|
require_once(BASE."include/screenshot.php");
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/************************************/
|
||||||
|
/* code to Submit and Resubmit Apps */
|
||||||
|
/************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Submit new applications or versions.
|
* Submit new applications or versions.
|
||||||
*
|
*
|
||||||
@@ -23,11 +27,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require_once(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require_once(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require_once(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require_once(BASE."include/mail.php");
|
|
||||||
require_once(BASE."include/testResults.php");
|
require_once(BASE."include/testResults.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|||||||
16
appview.php
16
appview.php
@@ -18,17 +18,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/appdb.php");
|
require_once(BASE."include/appdb.php");
|
||||||
require(BASE."include/vote.php");
|
require_once(BASE."include/vote.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
require(BASE."include/maintainer.php");
|
require_once(BASE."include/maintainer.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/monitor.php");
|
||||||
require(BASE."include/monitor.php");
|
|
||||||
require_once(BASE."include/testResults.php");
|
|
||||||
|
|
||||||
$oApp = new Application($aClean['iAppId']);
|
$oApp = new Application($aClean['iAppId']);
|
||||||
$oVersion = new Version($aClean['iVersionId']);
|
$oVersion = new Version($aClean['iVersionId']);
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
# it's purpose is to clean the user's table. #
|
# it's purpose is to clean the user's table. #
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
include(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
include(BASE."include/mail.php");
|
require_once(BASE."include/mail.php");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Warn users that have been inactive for some number of months
|
* Warn users that have been inactive for some number of months
|
||||||
|
|||||||
@@ -11,11 +11,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE.'include/comment.php');
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
$oComment = new Comment($aClean['iCommentId']);
|
$oComment = new Comment($aClean['iCommentId']);
|
||||||
|
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
/*
|
/*
|
||||||
* application environment
|
* application environment
|
||||||
*/
|
*/
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/distributions.php");
|
require_once(BASE."include/distributions.php");
|
||||||
require(BASE."include/testResults.php");
|
require_once(BASE."include/testResults.php");
|
||||||
|
|
||||||
if ($aClean['sSub'])
|
if ($aClean['sSub'])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
/* Application Database Documentation Center */
|
/* Application Database Documentation Center */
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
include(BASE."include/"."incl.php");
|
require(BASE."include/"."incl.php");
|
||||||
|
|
||||||
$help_path = BASE."/help";
|
$help_path = BASE."/help";
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ require_once(BASE."include/version.php");
|
|||||||
require_once(BASE."include/vendor.php");
|
require_once(BASE."include/vendor.php");
|
||||||
require_once(BASE."include/url.php");
|
require_once(BASE."include/url.php");
|
||||||
require_once(BASE."include/util.php");
|
require_once(BASE."include/util.php");
|
||||||
|
require_once(BASE."include/mail.php");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Application class for handling applications.
|
* Application class for handling applications.
|
||||||
|
|||||||
@@ -8,9 +8,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/application.php");
|
|
||||||
|
|
||||||
apidb_header("Wine Application Database");
|
apidb_header("Wine Application Database");
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -18,10 +18,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -16,10 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE.'include/version.php');
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
$aClean = array(); //array of filtered user input
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require_once(BASE."include/screenshot.php");
|
require_once(BASE."include/screenshot.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
require_once(BASE."include/version.php");
|
||||||
|
|
||||||
// we issued a command
|
// we issued a command
|
||||||
if($aClean['sCmd'])
|
if($aClean['sCmd'])
|
||||||
|
|||||||
@@ -10,10 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/application.php");
|
|
||||||
|
|
||||||
apidb_header("Search Results");
|
apidb_header("Search Results");
|
||||||
perform_search_and_output_results($aClean['sSearchQuery']);
|
perform_search_and_output_results($aClean['sSearchQuery']);
|
||||||
|
|||||||
@@ -3,12 +3,11 @@
|
|||||||
/* code to submit, view and resubmit Test Results */
|
/* code to submit, view and resubmit Test Results */
|
||||||
/**************************************************/
|
/**************************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/tableve.php");
|
require_once(BASE."include/tableve.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
require_once(BASE."include/testResults.php");
|
require_once(BASE."include/testResults.php");
|
||||||
require_once(BASE."include/distributions.php");
|
require_once(BASE."include/distributions.php");
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
/*
|
/*
|
||||||
* application environment
|
* application environment
|
||||||
*/
|
*/
|
||||||
include("path.php");
|
require("path.php");
|
||||||
require_once(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require_once(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require_once(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require_once(BASE."include/vendor.php");
|
require_once(BASE."include/vendor.php");
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,11 @@
|
|||||||
/* Without having go into each application version to do so */
|
/* Without having go into each application version to do so */
|
||||||
/************************************************************/
|
/************************************************************/
|
||||||
|
|
||||||
include("path.php");
|
require("path.php");
|
||||||
include(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
include(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require_once(BASE."include/screenshot.php");
|
require_once(BASE."include/screenshot.php");
|
||||||
require(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require(BASE."include/mail.php");
|
|
||||||
|
|
||||||
apidb_header("View Screenshots");
|
apidb_header("View Screenshots");
|
||||||
/* display a range of 10 pages */
|
/* display a range of 10 pages */
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
* application environment
|
* application environment
|
||||||
*/
|
*/
|
||||||
include("path.php");
|
include("path.php");
|
||||||
include(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require(BASE."include/filter.php");
|
||||||
require(BASE."include/category.php");
|
require_once(BASE."include/category.php");
|
||||||
|
|
||||||
/* default to 25 apps, main categories */
|
/* default to 25 apps, main categories */
|
||||||
$topNumber = 25;
|
$topNumber = 25;
|
||||||
|
|||||||
Reference in New Issue
Block a user