follow us on google+ follow us feedburner

FORUM
We will close this forum soon. Please, now use Stack Overflow. Don't forget to add the tag "easyphp" to your post.

You can follow your activity on Stack Overflow with the Stack Exchange Android App. An iPhone version is coming...

One more thing. EasyPHP is on GitHub. You will find the repositories at this address : https://github.com/easyphp. If you want to report a bug, please use the GitHub issue management system of each repository.

small home screen add alias fix



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

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.
alias.inc.php:78
- if (stristr($_POST['alias_name'], $value) != FALSE) {
+ if (strcasecmp($_POST['alias_name'], $value) == 0) {

Cheers,
Slavi
Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
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.