diff --git a/chapters/security.xml b/chapters/security.xml index cd0c28f55f..d29d3e5edf 100644 --- a/chapters/security.xml +++ b/chapters/security.xml @@ -1,5 +1,5 @@ - + Security @@ -387,7 +387,7 @@ AddHandler php-script .php $username = $_POST['user_submitted_name']; $homedir = "/home/$username"; $file_to_delete = "$userfile"; -unlink ($homedir/$userfile); +unlink ("$homedir/$userfile"); echo "$file_to_delete has been deleted!"; ?> ]]> @@ -561,7 +561,7 @@ if (!ereg('^[^./][^/]*$', $username)) informations in this way will be a hard work. diff --git a/security/index.xml b/security/index.xml index cd0c28f55f..d29d3e5edf 100644 --- a/security/index.xml +++ b/security/index.xml @@ -1,5 +1,5 @@ - + Security @@ -387,7 +387,7 @@ AddHandler php-script .php $username = $_POST['user_submitted_name']; $homedir = "/home/$username"; $file_to_delete = "$userfile"; -unlink ($homedir/$userfile); +unlink ("$homedir/$userfile"); echo "$file_to_delete has been deleted!"; ?> ]]> @@ -561,7 +561,7 @@ if (!ereg('^[^./][^/]*$', $username)) informations in this way will be a hard work.