diff options
Diffstat (limited to 'inc/poche/Tools.class.php')
-rw-r--r-- | inc/poche/Tools.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 52d0f2d5..8661ab6e 100644 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -238,7 +238,7 @@ class Tools | |||
238 | public static function createMyConfig() | 238 | public static function createMyConfig() |
239 | { | 239 | { |
240 | $myconfig_file = './inc/poche/myconfig.inc.php'; | 240 | $myconfig_file = './inc/poche/myconfig.inc.php'; |
241 | 241 | ||
242 | if (!is_writable('./inc/poche/')) { | 242 | if (!is_writable('./inc/poche/')) { |
243 | self::logm('you don\'t have write access to create ./inc/poche/myconfig.inc.php'); | 243 | self::logm('you don\'t have write access to create ./inc/poche/myconfig.inc.php'); |
244 | die('You don\'t have write access to create ./inc/poche/myconfig.inc.php.'); | 244 | die('You don\'t have write access to create ./inc/poche/myconfig.inc.php.'); |
@@ -248,7 +248,7 @@ class Tools | |||
248 | { | 248 | { |
249 | $fp = fopen($myconfig_file, 'w'); | 249 | $fp = fopen($myconfig_file, 'w'); |
250 | fwrite($fp, '<?php'."\r\n"); | 250 | fwrite($fp, '<?php'."\r\n"); |
251 | fwrite($fp, "define ('POCHE_VERSION', '1.0-beta3');" . "\r\n"); | 251 | fwrite($fp, "define ('POCHE_VERSION', '1.0-beta4');" . "\r\n"); |
252 | fwrite($fp, "define ('SALT', '" . md5(time() . $_SERVER['SCRIPT_FILENAME'] . rand()) . "');" . "\r\n"); | 252 | fwrite($fp, "define ('SALT', '" . md5(time() . $_SERVER['SCRIPT_FILENAME'] . rand()) . "');" . "\r\n"); |
253 | fwrite($fp, "define ('LANG', 'en_EN.utf8');" . "\r\n"); | 253 | fwrite($fp, "define ('LANG', 'en_EN.utf8');" . "\r\n"); |
254 | fclose($fp); | 254 | fclose($fp); |