27-Jul-2011, 10:34 AM
Hello, just a quick request.
Since i use the mod rewrite function of apache there seemed to occur some complications with commentics.
For example if a site where you want to have commentics is in the directory http://domain.com/dir1/dir2/file.php but you made a redirect via mod rewirte to http://domain.com/redirect/ Commetics will use the first path to process the comment submission so that the user will se in the adress bar the full directories.
What i did was to replace every $_SERVER['PHP_SELF'] with $_SERVER['REQUEST_URI'] in includes/functions/comments.php and includes/template/form.php.
For me it worked till now, but maybe you find a better solution...?
regards
Since i use the mod rewrite function of apache there seemed to occur some complications with commentics.
For example if a site where you want to have commentics is in the directory http://domain.com/dir1/dir2/file.php but you made a redirect via mod rewirte to http://domain.com/redirect/ Commetics will use the first path to process the comment submission so that the user will se in the adress bar the full directories.
What i did was to replace every $_SERVER['PHP_SELF'] with $_SERVER['REQUEST_URI'] in includes/functions/comments.php and includes/template/form.php.
For me it worked till now, but maybe you find a better solution...?
regards