Permalink
Browse files

Adds code to solve an old issue (0.99.xx series). Fixes bug #910:

http://bugs.cherokee-project.com/910

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6639 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 154ce9b commit 235add89c5c491f5f7e353e72139bd18b9b56170 @alobbs alobbs committed May 18, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 admin/config_version.py
View
@@ -42,6 +42,12 @@ def upgrade_to_0_99_45 (cfg):
if 'None' in cfg.keys('source'):
del (cfg['source!None'])
+ # 'icons!suffix!package.png' included the 'z' and 'Z' extensions
+ # when the property is meant to be caseless.
+ tmp = cfg.get_val('icons!suffix!package.png')
+ if tmp:
+ cfg['icons!suffix!package.png'] = tmp.replace ('Z,', '')
+
# Converts from 0.99.45 to 1.0.7
def upgrade_to_1_0_7 (cfg):
# Adds 'check_local_file' to Extension php

0 comments on commit 235add8

Please sign in to comment.