I am trying to simply add a "dummy" class to get me started. Make sure I am
actually doing it correct/ clearly something is wrong.

But the following below results in:

Fatal error: Class 'Dummy' not found in.....

 

Controller:

App::import('Dummy', 'Vendor', array('file' => 'dummy.php'));

 

public function index(){

            $dummy = new Dummy();

}

 

Vendors / dummy.php

<?php

            class Dummy{

}

 

Where I am going wrong?

Thanks,

 

Dave

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to