public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Search Repo:
Make sure we run upgrade everytime we save instead of just during the 
upgrade script.

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk@3998 
3d254a34-79dc-0310-9e5f-be208747d8a0
tedkulp (author)
Sat Jun 09 13:17:00 -0700 2007
commit  2639e05da2b568c40a56d349f901104119b6e21e
tree    055ffa7dfdc7c5f891204fcfc23206eea4268be2
parent  4a601647b16793416e161f1fe8d639a335b772a8
...
124
125
126
127
 
128
129
130
...
124
125
126
 
127
128
129
130
0
@@ -124,7 +124,7 @@ else
0
 {
0
   echo "<p>Upgrading config.php...";
0
 
0
- cms_config_upgrade();
0
+ //cms_config_upgrade();
0
   $config = cms_config_load(true, true);
0
   cms_config_save($config);
0
 
...
307
308
309
 
 
310
311
312
...
307
308
309
310
311
312
313
314
0
@@ -307,6 +307,8 @@ function cms_config_save($config)
0
       fwrite($handle, cms_config_text($config));
0
       fwrite($handle, "\n?>");
0
       fclose($handle);
0
+
0
+ cms_config_upgrade();
0
     }
0
   }
0
 }

Comments

    No one has commented yet.