Download | Plain Text | No Line Numbers


  1. --- lib/error.php.orig 2012-01-17 14:06:14.000000000 +0100
  2. +++ lib/error.php 2012-01-17 14:04:12.000000000 +0100
  3. @@ -20,7 +20,7 @@
  4. $message = "<p>$message</p>";
  5.  
  6. ob_start();
  7. - include_once TPLPATH . $template . '.php';
  8. + include_once DIRNAME . BASENAME . '/' . TPLPATH . $template . '.php';
  9. $buffer = ob_get_contents();
  10. ob_end_clean();
  11. return $buffer;
  12. @@ -38,7 +38,7 @@
  13. $login = $message;
  14.  
  15. ob_start();
  16. - include_once TPLPATH . $template . '.php';
  17. + include_once DIRNAME . BASENAME . '/' . TPLPATH . $template . '.php';
  18. $buffer = ob_get_contents();
  19. ob_end_clean();
  20. return $buffer;
  21. --- common.php.orig 2012-01-17 14:08:47.000000000 +0100
  22. +++ common.php 2012-01-17 14:09:08.000000000 +0100
  23. @@ -137,7 +137,7 @@
  24. function show_error($message='')
  25. {
  26. // we'll use the default language for this
  27. - $lang =& load_class('lang', TRUE, 'lib');
  28. + $lang =& load_class('lang', TRUE, 'lang');
  29. $lang->setlang(); // get the default strings
  30.  
  31. $message = $lang->word($message);
  32. @@ -153,7 +153,7 @@
  33. function show_login($message='')
  34. {
  35. // we'll use the default language for this
  36. - $lang =& load_class('lang',TRUE,'lib');
  37. + $lang =& load_class('lang',TRUE,'lang');
  38. $lang->setlang(); // get the default strings
  39.  
  40. $login = "<form method='post' action=''>
  41.