coding standard: no braces around include

This commit is contained in:
Sebastian Mendel
2007-04-01 09:51:41 +00:00
parent b2f3ae5fcf
commit adb39168cc
75 changed files with 260 additions and 260 deletions

View File

@@ -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));

View File

@@ -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