AppImport from Lib folder in 2.1
Hello,
So I've put my func.php to Lib dir and loaded it with App::import('Lib','func').
Everything worked on local Windows server, until I uploaded it to Linux production server. Then it said: requested file couldnt be found or something.
I had to move these files to Vendor and load them using App::import('Vendor','func') on the server. This way it worked.
Anyone knows why?
Thanks,
Sergei.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home