Define a class variable called uses at the top of your setup controller class called 'uses' and set it to 'null'

i.e.

class SetupController extends AppController
{
    var $name = 'Setup';
    var $uses = null;

    //actions below here
}

After that it will not look for a model.

On 7/10/06, eDevil <[EMAIL PROTECTED] > wrote:

I want to create an Installer for the application I built.

The first page collects information (user and database), when the form
is submitted an SQL is dumped into the server and the second page will
confirm the installation (or show an error).

The problem is that the setup application (setup_controller.php) doesnt
need to have any models assciated with it (or does it?) and I cant
figure out how to do this.

Can anyone help? Thanks in advance.




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to