Skip to content
This repository has been archived by the owner on Jan 8, 2018. It is now read-only.

Commit

Permalink
fix readme.md stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolatkey committed Aug 3, 2016
1 parent c44d4f8 commit b9b5f32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions application/models/upgrade2_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ function do_upgrade() {

unlink('index.php');
rename($uzdir.'index.php', 'index.php');
unlink('README.MD');
rename($uzdir.'README.MD', 'README.MD');
try {
unlink('README.MD');
rename($uzdir.'README.MD', 'README.MD');
} catch (Exception $e) {}
delete_files('application/', TRUE);
rename($uzdir.'application', 'application');
delete_files('system/', TRUE);
Expand Down

0 comments on commit b9b5f32

Please sign in to comment.