Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
gRAR
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Named Buttons Captcha
>
All threads
>
gRAR
>
(Un) Subscribe thread alerts
Subject:
gRAR
Summary:
Define constant __DIR__
Messages:
2
Author:
Gerardo
Date:
2012-05-03 10:57:36
Update:
2012-06-29 03:42:52
1. gRAR
Reply
Report abuse
Gerardo - 2012-05-03 10:57:36
Good code!
I have an error that I have solved by adding the following code to NamedButtonsCaptcha.php
define("__DIR__","lib");
Regards
gRAR
2. Re: gRAR
Reply
Report abuse
Nguyen Duc Thuan - 2012-06-29 03:42:52 -
In reply to
message 1
from Gerardo
Hi,
Thanks for reporting that. I forgot that not everyone upgraded to PHP5.3.
The __DIR__ constant is available as of PHP5.3 so I think you should change to something like this:
defined('__DIR__') || define('__DIR__', dirname(__FILE__));
Regards,
Thuan.
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger