Welcome Guest, Not a member yet? Register   Sign In
Upgrading Codeigniter
#1

[eluser]newsmuncher[/eluser]
This might seem a silly question and sorry if its already been asked. Is it possible to skip upgrades, can you jump straight from 1.7.3 to 2.0.2?
#2

[eluser]Rok Biderman[/eluser]
Yes, no big problem.
#3

[eluser]toopay[/eluser]
[quote author="newsmuncher" date="1303473682"]can you jump straight from 1.7.3 to 2.0.2?[/quote]
Code:
public function i_think($upgrade,$your_apps)
{
   if($your_apps = 'New Apps')
   {
      return 'Of course, there would be ok';
   }
   try
   {
      $this->upgrade_ci->execute(array(
         'app_state'      => 'Existed App',
         'old_ci_version' => '1.7.3',
         'new_ci_version' => '2.0.2',
         'action'         => $upgrade,
      ));
   }
   catch (Exception $e)
   {
      switch($e->getMessage())
      {
         case 'App is already worked fine, and it has too many custom library which i create my self, upgrade probably will break that.' :
            $res = 'Think again! Why you need to upgrade?';
            break;
         case 'App is simple, i did use some library but the developer seems actively update it' :
            $res = 'Need some effort, but its ok. Its worthed';
            break;
         default :
            $res = 'Its fine';
      }
   }
   return $res;
}
#4

[eluser]InsiteFX[/eluser]
@toopay

NO CODE!

InsiteFX
#5

[eluser]toopay[/eluser]
@InsiteFX

But I can't said it better with words. :-S




Theme © iAndrew 2016 - Forum software by © MyBB