diff options
author | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2007-04-01 13:51:41 +0400 |
---|---|---|
committer | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2007-04-01 13:51:41 +0400 |
commit | adb39168cc384d7a808f836cf2e9f9585b82f864 (patch) | |
tree | b1c9366baf0b0a405105242a90ab24908eba2342 /scripts | |
parent | b2f3ae5fcfdd8aa881c7abf20ffccdfc583a518a (diff) |
coding standard: no braces around include
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/check_lang.php | 2 | ||||
-rw-r--r-- | scripts/setup.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_lang.php b/scripts/check_lang.php index 5a07c7a888..4ecf9070b0 100644 --- a/scripts/check_lang.php +++ b/scripts/check_lang.php @@ -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)); diff --git a/scripts/setup.php b/scripts/setup.php index 4ad5a69b7e..8fa45e52df 100644 --- a/scripts/setup.php +++ b/scripts/setup.php @@ -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 |