开发者

Problem including a gigya sdk in a cakephp application

I am trying to include gigya php sdk in my application. The file is under /app/vendors/GSSDK.php I included it in my controller as

App::import('Vendor', 'GSSDK'); 

And in my view

$request = new GSRequest($apiKey,$secretK开发者_如何学Cey,$method);

I get a error missing class GSRequest. I am facing problems including the php sdk.


Make sure you include vendor files into the correct directory /vendors/ or /app/vendors both should work. Try including with different styles as sugguested by book cakephp and remember CASE does matter.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜