moved special files out of webroot

pull/1/head
root 18 years ago
parent f148a4cb10
commit ddaf44e87f

@ -185,20 +185,20 @@
if($section == "tverify" && file_exists($_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"))
include_once($_SESSION['_config']['filepath']."/www/$section/$id.php");
else if(file_exists($_SESSION['_config']['filepath']."/pages/$section/$id.php"))
include_once($_SESSION['_config']['filepath']."/pages/$section/$id.php");
else {
$id = "0";
if(file_exists($_SESSION['_config']['filepath']."/www/$section/$id.php"))
include_once($_SESSION['_config']['filepath']."/www/$section/$id.php");
if(file_exists($_SESSION['_config']['filepath']."/pages/$section/$id.php"))
include_once($_SESSION['_config']['filepath']."/pages/$section/$id.php");
else {
$section = "index";
$id = "0";
if(file_exists($_SESSION['_config']['filepath']."/www/$section/$id.php"))
include_once($_SESSION['_config']['filepath']."/www/$section/$id.php");
if(file_exists($_SESSION['_config']['filepath']."/pages/$section/$id.php"))
include_once($_SESSION['_config']['filepath']."/pages/$section/$id.php");
else
include_once($_SESSION['_config']['filepath']."/www/error404.php");
}

@ -16,7 +16,7 @@
<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>
<?=_("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>
<form method="post" action="index.php">

@ -17,10 +17,10 @@
if($id == 6)
{
include_once("../www/account/6.php");
include_once("../pages/account/6.php");
exit;
} else if($id == 19) {
include_once("../www/account/19.php");
include_once("../pages/account/19.php");
exit;
} else if($oldid == 40 && $process != "" && $_POST['support'] != "yes") {
$who = stripslashes($who);

@ -22,7 +22,7 @@
if($id == 17 || $id == 20)
{
include_once("index/$id.php");
include_once("../pages/index/$id.php");
exit;
}

@ -1,7 +1,7 @@
<?
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');

Loading…
Cancel
Save