THIS CODE:

class TestController extends AppController {
    var $name = 'Test';

 function test($a=null, $b=null){
        $path_to_rendered='C:\appname\app\views\novice/'.$a.'.thtml';
        file_put_contents($path_to_rendered, 'test');
        $this->render('test');


    }
}

on the url 'http://localhost/appname/test/test/1/1'
PRODUCES THREE FILES in the folder specified:
- file 1.thtml
- file css.thtml
- and file js.thtml
it on the other hand produces TWO files if I pass only '
http://localhost/appname/test/test/1',
named 1.thtml, and favicon.ico.thtml.


Now someone tell me, this is not a "divine intervention".

:(


note that

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to