diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-23 22:43:16 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-23 22:43:16 +0200 |
commit | 679b6b85ad1f8c9110334101a1568510ad15891b (patch) | |
tree | 1b633e36232604ffbf7d87c94f1a990c0d787652 /inc | |
parent | 6d7defc87cd6ce40910b66472168e3d86c362164 (diff) | |
download | wallabag-679b6b85ad1f8c9110334101a1568510ad15891b.tar.gz wallabag-679b6b85ad1f8c9110334101a1568510ad15891b.tar.zst wallabag-679b6b85ad1f8c9110334101a1568510ad15891b.zip |
preparing to beta4
Diffstat (limited to 'inc')
-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); |