Exclareceu muuuito minhas dúvidas. Para a 3.1 muda alguma coisa?
Em 27 de abril de 2012 16:49, Rogerio Barbosa <[email protected]>escreveu: > Bom vamos lá acho muito complicado trabalhar assim como metodos acima. > > > > vou mostrar como trabalho > > na raiz > > tem index.php eu crio o admin.php : > > */ > $application = 'app_backend'; > > /** > * The directory in which your modules are located. > * > * @see http://kohanaframework.org/guide/about.install#modules > */ > $modules = 'modules_admin'; > > /** > * The directory in which the Kohana resources are located. The system > * directory must contain the classes/kohana.php file. > * > * @see http://kohanaframework.org/guide/about.install#system > */ > $system = 'system_admin'; > > /** > * The default extension of resource files. If you change this, all > resources > * must be renamed to use the new extension. > * > * @see http://kohanaframework.org/guide/about.install#ext > */ > define('EXT', '.php'); > > > > e o index ficara assim > > > > */ > $application = 'app_frontend'; > > /** > * The directory in which your modules are located. > * > * @see http://kohanaframework.org/guide/about.install#modules > */ > $modules = 'modules_310'; > > /** > * The directory in which the Kohana resources are located. The system > * directory must contain the classes/kohana.php file. > * > * @see http://kohanaframework.org/guide/about.install#system > */ > $system = 'system_310'; > > $media = 'media'; > > /** > * The default extension of resource files. If you change this, all > resources > * must be renamed to use the new extension. > * > * @see http://kohanaframework.org/guide/about.install#ext > */ > define('EXT', '.php'); > > > <https://lh6.googleusercontent.com/-fS-caNdVT8Y/T5r3o08sWtI/AAAAAAAAASY/fPXlnXcZYec/s1600/Captura+de+tela+2012-04-27+a%CC%80s+16.46.30.png> > > > > trabahando front e back end juntos porem bem divididos cada um com seu > modulo e app e system > > a pasta old desconsidera é o site antigo nele ...rsrssr > > > > > > > > Em sexta-feira, 27 de abril de 2012 16h29min11s UTC-3, Fabian Carlos > escreveu: > >> ah me esqueci, estou usando a versão 3.2 do kohana > > -- > Você está recebendo esta mensagem porque se inscreveu no grupo "Kohana > Php" dos Grupos do Google. > Para ver esta discussão na web, acesse > https://groups.google.com/d/msg/kohana-php/-/jSoa-b5gzakJ. > > Para postar neste grupo, envie um e-mail para [email protected]. > Para cancelar a inscrição nesse grupo, envie um e-mail para > [email protected]. > Para obter mais opções, visite esse grupo em > http://groups.google.com/group/kohana-php?hl=pt-BR. > -- Att, Gustavo Souza -- Você está recebendo esta mensagem porque se inscreveu no grupo "Kohana Php" dos Grupos do Google. Para postar neste grupo, envie um e-mail para [email protected]. Para cancelar a inscrição nesse grupo, envie um e-mail para [email protected]. Para obter mais opções, visite esse grupo em http://groups.google.com/group/kohana-php?hl=pt-BR.
