|
Hello, I need your help.
In the previous version of CakePHP (1.3.4) I can use the Configure::store to save my settings, as follows: http://bin.cakephp.org/view/1327054859 Now in version 2.1, I use the following code http://bin.cakephp.org/view/1594623852 But this code does not create temp file in /tmp/cache/persisten / as it does the one before. Am I wrong somewhere? -- 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
how you know if file is created, if you delete it then ? :D
and
CONFIGS does not exists in cake 2, use APP . 'Config' . DS instead :)
-- -- Lep pozdrav, Tilen Majerle 2012/2/28 Salines <[hidden email]> Hello, I need your help. 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
In reply to this post by Salines
Hi,
Deletion occurs at the end, after copying the files from the temp folder in the Config folder. Please try the following code and tell me that the settings.php file is created in your / tmp / cache / persistent / folder? Configure::store('Setting', 'settings', array('Site'=> array('title' => 'title example','slogan' => 'my not working example'))); Pozdrav -- 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
| Powered by Nabble | Edit this page |
