Ejemplo n.º 1
0
 public function get_complete()
 {
     if (!Session::get('step_4_passed')) {
         return Redirect::to('install/step_4');
     }
     // Update bundles.php file
     $source = path('bundle') . 'install/file_templates/bundles.tpl';
     $destination = path('app') . 'bundles.php';
     Installer::write_file($source, $destination);
     // Set application as installed
     Installer::set_app_installed();
     $this->layout->nav_step = 5;
     $this->layout->content = View::make('install::complete')->with('avatar_first_name', Session::get('avatar_first_name'))->with('avatar_last_name', Session::get('avatar_last_name'))->with('email', Session::get('email'))->with('password', Session::get('password'));
 }