Permalink
Browse files

Autoupdater Robot

  • Loading branch information...
1 parent 2fe785f commit 406e6a57e3a18aefe070edfb8b11cb76b3457727 @CuteNews committed Apr 21, 2015
Showing with 3,889 additions and 1,645 deletions.
  1. +1 −1 README.md
  2. +2 −8 core/captcha/captcha.php
  3. +1,048 −570 core/core.php
  4. +523 −84 core/db/coreflat.php
  5. +0 −2 core/deprecated.php
  6. +87 −25 core/includes/active_news.php
  7. +68 −24 core/includes/add_comment.php
  8. +71 −19 core/includes/comments.php
  9. +1 −1 core/includes/full_story.php
  10. +32 −11 core/init.php
  11. +51 −13 core/modules/add_news.php
  12. +315 −96 core/modules/dashboard.php
  13. +327 −163 core/modules/edit_news.php
  14. +39 −17 core/modules/hooks/common.php
  15. +1 −2 core/modules/init.php
  16. +279 −160 core/modules/maint.php
  17. +329 −143 core/modules/media.php
  18. +138 −60 core/news.php
  19. +118 −0 core/update_indexes_tool.php
  20. +33 −0 docs/release.html
  21. +16 −8 example.php
  22. +4 −1 index.php
  23. +0 −35 migration_update_indexes.php
  24. +6 −1 show_archives.php
  25. +15 −4 show_news.php
  26. +2 −1 skins/base/addedit/changecats.php
  27. +17 −6 skins/base/addedit/main.php
  28. +26 −15 skins/base/cnscript.tpl
  29. +13 −2 skins/base/dashboard/category.php
  30. +5 −1 skins/base/dashboard/comments.php
  31. +3 −3 skins/base/dashboard/general.php
  32. +8 −3 skins/base/dashboard/group.php
  33. +67 −27 skins/base/dashboard/intwiz.php
  34. +18 −6 skins/base/dashboard/personal.php
  35. +1 −1 skins/base/dashboard/snippet/editor.php
  36. +1 −1 skins/base/dashboard/snippet/morefields.php
  37. +1 −1 skins/base/dashboard/template.php
  38. +2 −2 skins/base/defaults/templates.tpl
  39. +116 −50 skins/base/editnews/list.php
  40. +0 −10 skins/base/help/cutecode.php
  41. +3 −11 skins/base/help/sections/tplvars.tpl
  42. +2 −9 skins/base/maint/maintenance.php
  43. +30 −24 skins/base/maint/migrate.php
  44. +68 −23 skins/base/media/general.php
  45. +2 −1 skins/base/window.php
View
@@ -1,4 +1,4 @@
-Сutenews 2.0
+Сutenews
============
CuteNews is a FREE, powerful and easy-to-use news management system based on flat files
@@ -104,10 +104,7 @@ function CreateImage($DisableHeaders = FALSE)
{
list($text, $reply) = $this->GetCaptchaText();
- $_SESS[$this->session_var] = $reply;
-
- if (!$DisableHeaders)
- cn_save_session();
+ $_SESSION[$this->session_var] = $reply;
echo '<html><body style="font-size: 42px; font-family: Arial, Tahoma, Serif;">'.$reply.'</body></html>';
}
@@ -122,10 +119,7 @@ function CreateImage($DisableHeaders = FALSE)
$fontcfg = $this->fonts[array_rand($this->fonts)];
$this->WriteText($text, $fontcfg);
- $_SESS[$this->session_var] = $reply;
-
- if (!$DisableHeaders)
- cn_save_session();
+ $_SESSION[$this->session_var] = $reply;
/** Transformations */
$this->WaveImage();
Oops, something went wrong.

0 comments on commit 406e6a5

Please sign in to comment.