follow us on google+ follow us feedburner


Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

small home screen add alias fix

Posted by: bat Slavi
February 25, 2013 05:55PM

When adding alias, the scripts checks if alias name contains the name of any of the subdirectories in www, so if you have directory named c you won't be able to add any alias containing 'c'. The fix is trivial.
- if (stristr($_POST['alias_name'], $value) != FALSE) {
+ if (strcasecmp($_POST['alias_name'], $value) == 0) {

Options: ReplyQuote

Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.