Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
  3.  
  4. /**
  5. *
  6. *
  7. * PHP versions 4 and 5
  8. *
  9. * <pre>
  10. * +-----------------------------------------------------------------------+
  11. * | |
  12. * | W3C� SOFTWARE NOTICE AND LICENSE |
  13. * | http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
  14. * | |
  15. * | This work (and included software, documentation such as READMEs, |
  16. * | or other related items) is being provided by the copyright holders |
  17. * | under the following license. By obtaining, using and/or copying |
  18. * | this work, you (the licensee) agree that you have read, understood, |
  19. * | and will comply with the following terms and conditions. |
  20. * | |
  21. * | Permission to copy, modify, and distribute this software and its |
  22. * | documentation, with or without modification, for any purpose and |
  23. * | without fee or royalty is hereby granted, provided that you include |
  24. * | the following on ALL copies of the software and documentation or |
  25. * | portions thereof, including modifications: |
  26. * | |
  27. * | 1. The full text of this NOTICE in a location viewable to users |
  28. * | of the redistributed or derivative work. |
  29. * | |
  30. * | 2. Any pre-existing intellectual property disclaimers, notices, |
  31. * | or terms and conditions. If none exist, the W3C Software Short |
  32. * | Notice should be included (hypertext is preferred, text is |
  33. * | permitted) within the body of any redistributed or derivative |
  34. * | code. |
  35. * | |
  36. * | 3. Notice of any changes or modifications to the files, including |
  37. * | the date changes were made. (We recommend you provide URIs to |
  38. * | the location from which the code is derived.) |
  39. * | |
  40. * | THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT |
  41. * | HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, |
  42. * | INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR |
  43. * | FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE |
  44. * | OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, |
  45. * | COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. |
  46. * | |
  47. * | COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, |
  48. * | SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE |
  49. * | SOFTWARE OR DOCUMENTATION. |
  50. * | |
  51. * | The name and trademarks of copyright holders may NOT be used in |
  52. * | advertising or publicity pertaining to the software without |
  53. * | specific, written prior permission. Title to copyright in this |
  54. * | software and any associated documentation will at all times |
  55. * | remain with copyright holders. |
  56. * | |
  57. * +-----------------------------------------------------------------------+
  58. * </pre>
  59. *
  60. * @category Net
  61. * @package Net_NNTP
  62. * @author Heino H. Gehlsen <heino@gehlsen.dk>
  63. * @copyright 2002-2011 Heino H. Gehlsen <heino@gehlsen.dk>. All Rights Reserved.
  64. * @license http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 W3C� SOFTWARE NOTICE AND LICENSE
  65. * @version SVN: $Id: config.inc.php 306630 2010-12-25 02:00:55Z heino $
  66. * @link http://pear.php.net/package/Net_NNTP
  67. * @see
  68. * @since File available since release 1.3.0
  69. */
  70.  
  71. $frontpage = true;
  72.  
  73. $loglevel = 5; // PEAR_LOG_NOTICE = 5 ; PEAR_LOG_INFO = 6 ; PEAR_LOG_DEBUG = 7
  74. $allowOverwrite = true;
  75. $allowPortOverwrite = false;
  76.  
  77. $host = 'news.php.net';
  78. $port = null;
  79. $timeout = null;
  80.  
  81. $encryption = null;
  82.  
  83. $user = null;
  84. $pass = null;
  85.  
  86. $wildmat = 'php.pear*';
  87. $useRange = false;
  88. $max = 10;
  89.  
  90. $validateInput = true;
  91. $hostValidationRegExp = '/^([^<>]+)$/';
  92. $articleValidationRegExp = '/^([0-9]+|<[^<]+>)$/';
  93. $groupValidationRegExp = '/^([^<>]+)$/';
  94.  
  95. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement