Commit: 64ec91ea0ff984817bd771c7dfeca15632488329
Author: Sobak <[email protected]> Sun, 16 Mar 2014 16:28:18 +0100
Parents: 2af64f28a0fc5329d528b6b1bde3e5866157b706
Branches: master
Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=64ec91ea0ff984817bd771c7dfeca15632488329
Log:
Remove duplicated includes
Those files are already included
Changed paths:
M include/rfc/rfc.php
M www/admin.php
M www/login.php
M www/phpt_generator.php
Diff:
diff --git a/include/rfc/rfc.php b/include/rfc/rfc.php
index f44c42e..ca1e609 100644
--- a/include/rfc/rfc.php
+++ b/include/rfc/rfc.php
@@ -33,7 +33,6 @@ require_once 'DB.php';
require_once 'DB/storage.php';
require_once $path . '/rfc-config.php';
require_once $path . '/../init.inc.php';
-require_once $path . '/../lib_auth.inc.php';
$docwebUser = $user;
diff --git a/www/admin.php b/www/admin.php
index d04ffc0..c4437b2 100644
--- a/www/admin.php
+++ b/www/admin.php
@@ -19,7 +19,6 @@ $Id$
*/
include '../include/init.inc.php';
-require_once '../include/lib_auth.inc.php';
auth();
if (!is_admin()) {
diff --git a/www/login.php b/www/login.php
index e1ee35b..72d16e9 100644
--- a/www/login.php
+++ b/www/login.php
@@ -5,7 +5,6 @@ include '../include/init.inc.php';
// FIXME: MAGIC_COKIE disabled
if (!empty($_POST)) {
- require_once '../include/lib_auth.inc.php';
auth();
if (isset($_REQUEST['return']) && !empty($_REQUEST['return'])
diff --git a/www/phpt_generator.php b/www/phpt_generator.php
index e8d6bc8..70e5073 100755
--- a/www/phpt_generator.php
+++ b/www/phpt_generator.php
@@ -20,7 +20,6 @@ $Id$
require_once '../include/init.inc.php';
require_once '../include/lib_phpt_generator.inc.php';
-require_once '../include/lib_auth.inc.php';
require_once 'Archive/Tar.php';
// clean magic_quotes_gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.