开发者

php Fat Free, how to use captcha plugin

I can't use the Captcha plugin provid开发者_如何学运维ed by Fat Free

Please help me

F3::route ( 'GET /captcha',captcha);

function captcha(){
    F3::captcha(100,100,8);
}


It should be:

F3::route ( 'GET /captcha','captcha');


Fix so easy! http://techzinger.blogspot.com/2011/02/fat-free-framework-for.html?showComment=1298024374012#c4330544534362949394


Let F3 know where your fonts folder is

I have following in my index.php file

define('ROOT',realpath(__dir__.'/../').'/');

F3::set('FONTS',ROOT.'fonts/');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜