Skip to content

Commit

Permalink
monisetup.php: copy intermap.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
wkpark committed Dec 11, 2015
1 parent 7549739 commit 6dfcda5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions monisetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ function _getHostConfig() {
$config['path'] = implode(PATH_SEPARATOR, $dirs);
}

// copy intermap.txt
if (!file_exists(dirname(__FILE__).'/data/intermap.txt'))
copy(dirname(__FILE__).'/data/intermap.txt.sample', dirname(__FILE__).'/data/intermap.txt');

if (!file_exists('wikilib.php')) {
$checkfile = array('plugin','locale');
$dir='';
Expand Down

0 comments on commit 6dfcda5

Please sign in to comment.