Add standard pma code for the library files. Add comments explaining file usage.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
This commit is contained in:
Dhananjay Nakrani 2014-05-11 11:23:31 +05:30
parent 9ef2231859
commit 64451c557a

View File

@ -1,10 +1,16 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* block attempts to directly run this script
* php Error reporting script.
* REQUIRED by ALL the scripts.
* MUST be included by every script at the end.
*
*
* @package PhpMyAdmin
*/
if (getcwd() == dirname(__FILE__)) {
die('Attack stopped');
if (! defined('PHPMYADMIN')) {
exit;
}
/** if there were any errors currently write them to a log file.