check if PHPMYADMIN is set

This commit is contained in:
Dieter Adriaenssens 2012-04-14 16:50:49 +02:00
parent d3266a202d
commit 0f772aa173
89 changed files with 280 additions and 4 deletions

View File

@ -6,6 +6,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
class Advisor
{

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Load vendor configuration.

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* @since phpMyAdmin 3.0.0

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* @todo add caching

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* the list base class

View File

@ -3,6 +3,9 @@
/**
* TCPDF wrapper class.
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once './libraries/tcpdf/tcpdf.php';

View File

@ -5,7 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* base Partition Class

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once './libraries/Message.class.php';

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* defines

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* @todo make use of PMA_Message and PMA_Error

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* handles theme

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* This class tracks changes on databases, tables and views.

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Defines the bookmark parameters for the current user

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Removes all variables from request except whitelisted ones.

View File

@ -7,6 +7,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* checks given $var and returns it if valid, or $default of not valid

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
@ -160,4 +163,4 @@ $GLOBALS['data_dictionary_relations'] = array(
)
);
?>
?>

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
$auto_column_types = empty($cfg['ColumnTypes']);

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
// VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
$cfg['ColumnTypes'] = !empty($cfg['ColumnTypes']) ? $cfg['ColumnTypes'] : array(

View File

@ -10,6 +10,9 @@
* @package PhpMyAdmin-DBI
* @subpackage Drizzle
*/
if (! defined('PHPMYADMIN')) {
exit;
}
// TODO: drizzle module segfaults while freeing resources, often. This allows at least for some development
function _drizzle_shutdown_flush()

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Load BDB class.

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* the MEMORY (HEAP) storage engine

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* the MyISAM storage engine

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Engines
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* the MyISAM storage engine

View File

@ -6,6 +6,9 @@
* @todo rename to file_listing.lib.php
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Returns array of filtered file names

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Factory class that handles the creation of geometric objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Base class for all GIS data type classes.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS GEOMETRYCOLLECTION objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS LINESTRING objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS MULTILINESTRING objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS MULTIPOINT objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS MULTIPOLYGON objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS POINT objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Handles the visualization of GIS POLYGON objects.
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Generates the JavaScripts needed to visualize GIS data.
*

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -8,7 +8,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Gets the "true" IP address of the current user

View File

@ -6,6 +6,9 @@
* @package PhpMyAdmin
*
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Format a string so it can be a string inside JavaScript code inside an

View File

@ -7,6 +7,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Logs user information to webserver logs.

View File

@ -6,6 +6,9 @@
* @package PhpMyAdmin
* @todo Maybe we could try to use fileinfo module if loaded
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Tries to detect MIME type of content.

View File

@ -11,6 +11,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* This function be used eventually to support more modes. It is needed

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Designer
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*

View File

@ -1,5 +1,9 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* This function is used to retreive some language strings that are used
* in functionalities that are common to routines, triggers and events.

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Checks whether given link is valid

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once "Export_Relation_Schema.class.php";

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once "Export_Relation_Schema.class.php";

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* This class is inherited by all schema classes

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once 'Export_Relation_Schema.class.php';
require_once './libraries/PDF.class.php';

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once 'Export_Relation_Schema.class.php';

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* This Class interacts with the user to gather the information

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once 'Export_Relation_Schema.class.php';

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* display server selection in list or selectbox form, or option tags only

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Places matching tables in source and target databases in $matching_tables

View File

@ -13,6 +13,10 @@
* string $format: if set to 'byte' it will format the variable
* with PMA_formatByteDown()
*/
if (! defined('PHPMYADMIN')) {
exit;
}
$VARIABLE_DOC_LINKS = array();
$VARIABLE_DOC_LINKS['auto_increment_increment'] = array(
'auto_increment_increment',

View File

@ -12,6 +12,9 @@
* @package PhpMyAdmin-String
* @subpackage MB
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Returns length of string depending on current charset.

View File

@ -12,6 +12,9 @@
* @package PhpMyAdmin-String
* @subpackage Native
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Returns length of string depending on current charset.

View File

@ -12,6 +12,9 @@
* @package PhpMyAdmin-String
* @subpackage CType
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Checks if a character is an alphanumeric one

View File

@ -12,6 +12,9 @@
* @package PhpMyAdmin-String
* @subpackage Native
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Checks if a character is an alphanumeric one

View File

@ -8,6 +8,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* @return array

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once 'url_generating.lib.php';

View File

@ -13,6 +13,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* returns array of options from string with options separated by comma, removes quotes

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_application_octetstream__download_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_application_octetstream__hex_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_image_jpeg__inline_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_image_jpeg__link_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_image_png__inline_info()
{

View File

@ -4,6 +4,9 @@
* @package phpMyAdmin-Transformation
* Has one option: the text to be appended (default '')
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__append_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__dateformat_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__external_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__formatted_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__imagelink_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__link_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__longToIpv4_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__sql_info()
{

View File

@ -3,6 +3,9 @@
/**
* @package PhpMyAdmin-Transformation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
function PMA_transformation_text_plain__substr_info()
{

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Generates text with hidden inputs.

View File

@ -5,6 +5,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Common initialization for user preferences modification pages

View File

@ -9,6 +9,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Path to changelog file, can be gzip compressed. Useful when you want to

View File

@ -4,6 +4,9 @@
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Zip file creation class.

View File

@ -1,10 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Interface for the zip extension
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Gets zip file contents