moved special files out of webroot
This commit is contained in:
parent
f148a4cb10
commit
ddaf44e87f
5 changed files with 11 additions and 11 deletions
|
@ -185,20 +185,20 @@
|
||||||
|
|
||||||
if($section == "tverify" && file_exists($_SESSION['_config']['filepath']."/tverify/index/$id.php"))
|
if($section == "tverify" && file_exists($_SESSION['_config']['filepath']."/tverify/index/$id.php"))
|
||||||
include_once($_SESSION['_config']['filepath']."/tverify/index/$id.php");
|
include_once($_SESSION['_config']['filepath']."/tverify/index/$id.php");
|
||||||
else if(file_exists($_SESSION['_config']['filepath']."/www/$section/$id.php"))
|
else if(file_exists($_SESSION['_config']['filepath']."/pages/$section/$id.php"))
|
||||||
include_once($_SESSION['_config']['filepath']."/www/$section/$id.php");
|
include_once($_SESSION['_config']['filepath']."/pages/$section/$id.php");
|
||||||
else {
|
else {
|
||||||
$id = "0";
|
$id = "0";
|
||||||
|
|
||||||
if(file_exists($_SESSION['_config']['filepath']."/www/$section/$id.php"))
|
if(file_exists($_SESSION['_config']['filepath']."/pages/$section/$id.php"))
|
||||||
include_once($_SESSION['_config']['filepath']."/www/$section/$id.php");
|
include_once($_SESSION['_config']['filepath']."/pages/$section/$id.php");
|
||||||
else {
|
else {
|
||||||
|
|
||||||
$section = "index";
|
$section = "index";
|
||||||
$id = "0";
|
$id = "0";
|
||||||
|
|
||||||
if(file_exists($_SESSION['_config']['filepath']."/www/$section/$id.php"))
|
if(file_exists($_SESSION['_config']['filepath']."/pages/$section/$id.php"))
|
||||||
include_once($_SESSION['_config']['filepath']."/www/$section/$id.php");
|
include_once($_SESSION['_config']['filepath']."/pages/$section/$id.php");
|
||||||
else
|
else
|
||||||
include_once($_SESSION['_config']['filepath']."/www/error404.php");
|
include_once($_SESSION['_config']['filepath']."/www/error404.php");
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<p style="border:dotted 1px #900;padding:0.3em;background-color:#ffe;">
|
<p style="border:dotted 1px #900;padding:0.3em;background-color:#ffe;">
|
||||||
<b><?=_("In light of the number of people having issues with making up a password we have the following suggestions:")?></b><br><br>
|
<b><?=_("In light of the number of people having issues with making up a password we have the following suggestions:")?></b><br><br>
|
||||||
<?=_("To get a password that will work, we suggest the following example")?>: Fr3d Sm|7h<br><br>
|
<?=_("To get a password that will work, we suggest the following example")?>: Fr3d Sm|7h<br><br>
|
||||||
<?=_("This wouldn't match your name or email at all, it contains at least 1 lower case letter, 1 upper case letter, a number, white space and a misc symbol. You get additional points for being over 15 characters and a second additional point for having it over 30. The system starts reducing points if you include any section of your name, or password or email address or if it matches a word from the english dictionary...")?>
|
<?=_("This wouldn't match your name or email at all, it contains at least 1 lower case letter, 1 upper case letter, a number, white space and a misc symbol. You get additional security for being over 15 characters and a second additional point for having it over 30. The system starts reducing security if you include any section of your name, or password or email address or if it matches a word from the english dictionary...")?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<form method="post" action="index.php">
|
<form method="post" action="index.php">
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
if($id == 6)
|
if($id == 6)
|
||||||
{
|
{
|
||||||
include_once("../www/account/6.php");
|
include_once("../pages/account/6.php");
|
||||||
exit;
|
exit;
|
||||||
} else if($id == 19) {
|
} else if($id == 19) {
|
||||||
include_once("../www/account/19.php");
|
include_once("../pages/account/19.php");
|
||||||
exit;
|
exit;
|
||||||
} else if($oldid == 40 && $process != "" && $_POST['support'] != "yes") {
|
} else if($oldid == 40 && $process != "" && $_POST['support'] != "yes") {
|
||||||
$who = stripslashes($who);
|
$who = stripslashes($who);
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
if($id == 17 || $id == 20)
|
if($id == 17 || $id == 20)
|
||||||
{
|
{
|
||||||
include_once("index/$id.php");
|
include_once("../pages/index/$id.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?
|
<?
|
||||||
if($process == "Confirm, I agree to these terms and conditions" && $iagree == "yes")
|
if($process == "Confirm, I agree to these terms and conditions" && $iagree == "yes")
|
||||||
{
|
{
|
||||||
$output_file = $fname = "cacert-20060305.tar.bz2";
|
$output_file = $fname = "cacert-20060417.tar.bz2";
|
||||||
|
|
||||||
header('Pragma: public');
|
header('Pragma: public');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue