Commit 60bdc8cd authored by  JosephK's avatar JosephK

default data folder autoremoved

parent 7d92433c
u/*
shaarli/plugins/demo_plugin
shaarli/plugins/playvideos
\ No newline at end of file
shaarli/
\ No newline at end of file
......@@ -37,6 +37,11 @@ if(!file_exists(PATH_ACCOUNTS)) {
mkdir('u');
chmod('u' , 0755);
}
if(file_exists(join_path(PATH_SHAARLI, 'data'))) {
unlink(join_path(PATH_SHAARLI, 'data', '.htaccess'));
rmdir(join_path(PATH_SHAARLI, 'data'));
}
require_once( 'setconfig.php');
// Dirty thing to call locale files from 'i18n' and 'myframa' plugins
......
<?php
symlink('../../plugins/i18n', 'shaarli/plugins/i18n');
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment