coding standard: no braces around include
This commit is contained in:
@@ -19,7 +19,7 @@ $languageDirectory = dir('../lang');
|
||||
while ($name = $languageDirectory->read()) {
|
||||
if (strpos($name, '.inc.php')) {
|
||||
// 1.1 Checks parse errors and extra blank line
|
||||
include('../lang/' . $name);
|
||||
include '../lang/' . $name;
|
||||
header('X-Ping: pong');
|
||||
// 1.1 Checks "^M"
|
||||
$content = fread(fopen('../lang/' . $name, 'r'), filesize('../lang/' . $name));
|
||||
|
@@ -16,7 +16,7 @@
|
||||
// Grab phpMyAdmin version and PMA_dl function
|
||||
define( 'PMA_MINIMUM_COMMON', TRUE );
|
||||
chdir('..');
|
||||
require_once('./libraries/common.inc.php');
|
||||
require_once './libraries/common.inc.php';
|
||||
|
||||
// Grab configuration defaults
|
||||
// Do not use $PMA_Config, it interferes with the one in $_SESSION
|
||||
|
Reference in New Issue
Block a user