[pLog-svn] r6837 - plog/branches/lifetype-1.2

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Feb 21 19:42:11 EST 2009


Author: jondaley
Date: 2009-02-21 19:42:10 -0500 (Sat, 21 Feb 2009)
New Revision: 6837

Modified:
   plog/branches/lifetype-1.2/wizard
Log:
we can't erase the session in the wizard (since we can't call SessionManager::init() since the config may or may not be setup yet.  But, we can erase the tmp cache, which solves some bugs when installing a new system in the same place as an old installation, when you were still logged into the old installation.  (how's that for a crazy bug - locales don't show up properly in the second installation, the admin can't ever login, probably permissions are wrong, all sorts of interesting stuff)

Modified: plog/branches/lifetype-1.2/wizard
===================================================================
--- plog/branches/lifetype-1.2/wizard	2009-02-22 00:40:32 UTC (rev 6836)
+++ plog/branches/lifetype-1.2/wizard	2009-02-22 00:42:10 UTC (rev 6837)
@@ -597,7 +597,9 @@
 
         function perform()
         {
-            // we can detect whether plog is already installed or not and direct users to the right
+            WizardTools::cleanTmpFolder();
+            
+                // we can detect whether plog is already installed or not and direct users to the right
             // place
             if( WizardTools::isNewInstallation())
                 $this->_view = new WizardView( "intro" );
@@ -1032,7 +1034,6 @@
             // find all the new locales that we have not yet stored
             $f = new LocaleFinder();
             $newLocaleCodes = $f->find();
-
             foreach( $newLocaleCodes as $newLocaleCode ) {
                 $res = $locales->addLocale( $newLocaleCode );
             }



More information about the pLog-svn mailing list