update.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. If you update from a previous version make sure every update step is done
  2. since your current used version.
  3. Update process is as follows:
  4. - copy lib, view and index.php into your webserver installation location
  5. - update your config.php
  6. - make sure of any special update steps listed below.
  7. ## x.x Neon
  8. Moved and added settings to config file. See config.default.php
  9. Make sure to add (with default values):
  10. const DEBUG = false;
  11. const TIMEZONE = 'Europe/Berlin';
  12. const PATH_ABSOLUTE = '/path/to/your/installation/';
  13. const PATH_SYSTEMOUT = PATH_ABSOLUTE.'/logs';
  14. const ERROR_LOG_FILE = PATH_SYSTEMOUT.'/selfpaste-error.log';
  15. const CREATE_LOG = PATH_SYSTEMOUT.'/selfpaste-create.log';
  16. Logfilenames changed. Existing create.log and error.log can be removed.
  17. ## 1.5 Fluorine
  18. New syntax in config file. Switched from define() to const syntax.
  19. This change apply also to the included webclient
  20. Example:
  21. old: define('LOG_CREATION',true);
  22. new: const LOG_CREATION = true;
  23. ## 0.4-beta Beryllium
  24. Update your config.php to reflect the following updates.
  25. selfpaste does now support the usage of multiple secrets.
  26. The usage is written into create.log
  27. define('SELFPASTE_UPLOAD_SECRET',
  28. array(
  29. 'PLEASE CHANGE YOUR SECRET' => 'Your description for this secret 1',
  30. 'PLEASE_2' => 'Your description for this secret'
  31. )
  32. );
  33. # creation of a paste and which secret was used into logs/create.log file
  34. define('LOG_CREATION',true);