Advertisement
KHIT

config.php

Oct 10th, 2011
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.87 KB | None | 0 0
  1. <?php
  2. /*******************************************************
  3. * config.php -                                         
  4. *   Configuration file for phpEventCalendar v0.2       
  5. *   author: isaac mcgowan <isaac@ikemcg.com>           
  6. *                                                      
  7. *   Configuration directives set with php's define()   
  8. *   function.  Usage: define("CONSTANT-ID",            
  9. *   "scalar_value")                                    
  10. *                                              
  11. * For questions or comments see:                       
  12. *   http://www.ikemcg.com/pec?rm=custom
  13. *******************************************************/
  14.  
  15. /*******************************************************
  16. ************* MySQL Database Settings ******************
  17. *******************************************************/
  18.  
  19. define("DB_NAME", "kalender");              // db name
  20. define("DB_USER", "root");              // db username
  21. define("DB_PASS", "");              // db password
  22. define("DB_HOST", "localhost");     // db server
  23.  
  24. // Prefix added to table names.  Do not change after
  25. // initial installation.
  26. define("DB_TABLE_PREFIX", "pec_");
  27.  
  28. /*******************************************************
  29. **************** Language Option ***********************
  30. *******************************************************/
  31.  
  32. define("LANGUAGE_CODE", "en");
  33.  
  34. /*******************************************************
  35. ************* Calendar Layout Options ******************
  36. *******************************************************/
  37.  
  38. // Maximum number of event titles that appear per day
  39. // on month-view.  Note: doesn't limit number of
  40. // events a user can post, just what appears on month
  41. // view.
  42. define("MAX_TITLES_DISPLAYED", 5);
  43.  
  44. // Title character limit.  Adjust this value so event
  45. // titles don't take more space than you want them to
  46. // on calendar month-view.
  47. define("TITLE_CHAR_LIMIT", 37);
  48.  
  49. // Template name.  e.g. "default" would indicate that
  50. // the "default.php" file is to be used.
  51. define("TEMPLATE_NAME", "default");
  52.  
  53. // Allows you to specify the weekstart, or the day
  54. // the calendar starts with.  The value must be
  55. // a numeric value from 0-6.  Zero indicates that the
  56. // weekstart is to be Sunday, 1 indicates that it is
  57. // Monday, 2 Tuesday, 3 Wednesday... For most users
  58. // it will be zero or one.
  59. define("WEEK_START", 0);
  60.  
  61. // Allows you to specify the format in which time
  62. // values are output.  Currently there are two
  63. // formats available: "12hr", which displays
  64. // hours 1-12 with an am/pm, and "24hr" which
  65. // display hours 00-23 with no am/pm.
  66. define("TIME_DISPLAY_FORMAT", "12hr");
  67.  
  68. // This directive allows you to specify a number
  69. // of hours by which the current time will be
  70. // offset.  The current time is used to highlight
  71. // the present day on the month-view calendar, and
  72. // it is sometimes necessary to adjust the current
  73. // time, so that the present day does not roll-over
  74. // too early, or too late, for your intended
  75. // audience.  Both positive and negative integer
  76. // values are valid.
  77. define("CURR_TIME_OFFSET", 0);
  78. ?>
  79.  
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement