dqkelut8423 2010-06-05 10:25
浏览 15
已采纳

在不通过index.php的情况下在Cakephp中包含模型

I'm using CakePHP to build a site which has a crawler that mines data from different sites. The problem is that I would like to be able to call the crawler from command line (since it can take hours for it to finnish) and I would like to the use models in CakePHP when saving the data.

Is there a file I could just include that includes the rest for me? If I just include the index.php it dispatches the call which I don't want.

Regards Nicklas

  • 写回答

1条回答 默认 最新

  • dscizpq790832708 2010-06-05 11:55
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?