From 537914d504968e9990bc05723bcbfad8d4710733 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Wed, 6 Feb 2002 20:12:56 +0000 Subject: [PATCH] Some uniformity into the sec index.php flavor git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2375 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/administrator/index.php | 17 +++++++++++++++++ plugins/bug_report/index.php | 17 +++++++++++++++++ plugins/calendar/index.php | 17 +++++++++++++++++ plugins/delete_move_next/index.php | 17 +++++++++++++++++ plugins/filters/index.php | 5 +---- plugins/listcommands/index.php | 17 +++++++++++++++++ plugins/mail_fetch/index.php | 17 +++++++++++++++++ plugins/newmail/index.php | 17 +++++++++++++++++ plugins/sent_subfolders/index.php | 17 +++++++++++++++++ plugins/spamcop/index.php | 17 +++++++++++++++++ plugins/squirrelspell/doc/index.php | 7 ++----- plugins/squirrelspell/js/index.php | 7 ++----- plugins/squirrelspell/modules/index.php | 7 ++----- plugins/translate/index.php | 7 ++----- 14 files changed, 162 insertions(+), 24 deletions(-) create mode 100644 plugins/administrator/index.php create mode 100644 plugins/bug_report/index.php create mode 100644 plugins/calendar/index.php create mode 100644 plugins/delete_move_next/index.php create mode 100644 plugins/listcommands/index.php create mode 100644 plugins/mail_fetch/index.php create mode 100644 plugins/newmail/index.php create mode 100644 plugins/sent_subfolders/index.php create mode 100644 plugins/spamcop/index.php diff --git a/plugins/administrator/index.php b/plugins/administrator/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/administrator/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/bug_report/index.php b/plugins/bug_report/index.php new file mode 100644 index 00000000..ee2ad145 --- /dev/null +++ b/plugins/bug_report/index.php @@ -0,0 +1,17 @@ + diff --git a/plugins/calendar/index.php b/plugins/calendar/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/calendar/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/delete_move_next/index.php b/plugins/delete_move_next/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/delete_move_next/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/filters/index.php b/plugins/filters/index.php index de0b3693..ee2ad145 100644 --- a/plugins/filters/index.php +++ b/plugins/filters/index.php @@ -11,10 +11,7 @@ ** $Id$ **/ - require_once('../../functions/strings.php'); - - $location = get_location(); - header("Location: $location/src/login.php\n\n"); + header("Location:../../src/login.php\n\n"); exit(); ?> diff --git a/plugins/listcommands/index.php b/plugins/listcommands/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/listcommands/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/mail_fetch/index.php b/plugins/mail_fetch/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/mail_fetch/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/newmail/index.php b/plugins/newmail/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/newmail/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/sent_subfolders/index.php b/plugins/sent_subfolders/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/sent_subfolders/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/spamcop/index.php b/plugins/spamcop/index.php new file mode 100644 index 00000000..cb97cc20 --- /dev/null +++ b/plugins/spamcop/index.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/plugins/squirrelspell/doc/index.php b/plugins/squirrelspell/doc/index.php index 9c2f5a1d..9770189c 100644 --- a/plugins/squirrelspell/doc/index.php +++ b/plugins/squirrelspell/doc/index.php @@ -3,7 +3,7 @@ /** ** index.php -- Displays the main frameset ** - ** Copyright (c) 1999-2000 The SquirrelMail development team + ** Copyright (c) 1999-2002 The SquirrelMail development team ** Licensed under the GNU GPL. For full terms see the file COPYING. ** ** Redirects to the login page. @@ -11,10 +11,7 @@ ** $Id$ **/ - require_once('../../../functions/strings.php'); - - $location = get_location(); - header("Location: $location/src/login.php\n\n"); + header("Location:../../../src/login.php\n\n"); exit(); ?> \ No newline at end of file diff --git a/plugins/squirrelspell/js/index.php b/plugins/squirrelspell/js/index.php index 9c2f5a1d..9770189c 100644 --- a/plugins/squirrelspell/js/index.php +++ b/plugins/squirrelspell/js/index.php @@ -3,7 +3,7 @@ /** ** index.php -- Displays the main frameset ** - ** Copyright (c) 1999-2000 The SquirrelMail development team + ** Copyright (c) 1999-2002 The SquirrelMail development team ** Licensed under the GNU GPL. For full terms see the file COPYING. ** ** Redirects to the login page. @@ -11,10 +11,7 @@ ** $Id$ **/ - require_once('../../../functions/strings.php'); - - $location = get_location(); - header("Location: $location/src/login.php\n\n"); + header("Location:../../../src/login.php\n\n"); exit(); ?> \ No newline at end of file diff --git a/plugins/squirrelspell/modules/index.php b/plugins/squirrelspell/modules/index.php index 7e39847e..9770189c 100644 --- a/plugins/squirrelspell/modules/index.php +++ b/plugins/squirrelspell/modules/index.php @@ -3,7 +3,7 @@ /** ** index.php -- Displays the main frameset ** - ** Copyright (c) 1999-2001 The SquirrelMail development team + ** Copyright (c) 1999-2002 The SquirrelMail development team ** Licensed under the GNU GPL. For full terms see the file COPYING. ** ** Redirects to the login page. @@ -11,10 +11,7 @@ ** $Id$ **/ - require_once('../../../functions/strings.php'); - - $location = get_location(); - header("Location: $location/src/login.php\n\n"); + header("Location:../../../src/login.php\n\n"); exit(); ?> \ No newline at end of file diff --git a/plugins/translate/index.php b/plugins/translate/index.php index de0b3693..cb97cc20 100644 --- a/plugins/translate/index.php +++ b/plugins/translate/index.php @@ -11,10 +11,7 @@ ** $Id$ **/ - require_once('../../functions/strings.php'); - - $location = get_location(); - header("Location: $location/src/login.php\n\n"); + header("Location:../../src/login.php\n\n"); exit(); -?> +?> \ No newline at end of file -- 2.25.1