12345678910111213141516171819202122232425262728293031 |
- <?php
- $enablePlugins = array('fr.idleman.hackpoint','fr.idleman.customiser','fr.idleman.part','fr.sys1.document','fr.sys1.notification','fr.sys1.wiki','fr.sys1.navigation');
- $conf->put('core_theme','/plugin/customiser/theme/hackpoint/main.css');
- $conf->put('wiki_name','Le wiki');
- $conf->put('wiki_home','autre/bienvenue');
- $user = User::byLogin('admin');
- $user->name = 'NORRIS';
- $user->firstname = 'Chuck';
- $user->save();
- $user->preference('wiki_night_mode',true);
- $_SESSION['currentUser'] = serialize($user);
- $myUser = $user;
- $coreDir = File::dir().SLASH.'core';
- if(!file_exists($coreDir)) mkdir($coreDir);
- copy(__DIR__.SLASH.'img'.SLASH.'logo.png',$coreDir.SLASH.'logo.png');
- copy(__DIR__.SLASH.'img'.SLASH.'logo.png',$coreDir.SLASH.'logo.dark.png');
- copy(__DIR__.SLASH.'img'.SLASH.'logo.png',$coreDir.SLASH.'favicon.png');
- ?>
|