[ PHPXref.com ] [ Generated: Sun Jul 20 19:15:28 2008 ] [ OverLook 4.02 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/config/ -> config_default.php (source)

   1  <?php
   2  
   3  /********************************************************************
   4   *   Autori:             Marco Colombo (marco@openit.it)
   5   *                       Valentina Portolan (valentina@openit.it)
   6   *                       Giuliano Natali Diaolin (diaolin@openit.it)
   7   *  Copyright:           Open It S.r.l.
   8   *                       Viale Dante, 78
   9   *                       38057 Pergine Valsugana (TN) ITALY
  10   *                       Tel: +39 0461 534800 Fax: +39 0461 538443
  11   *********************************************************************/
  12  
  13  /**
  14   * Default OverLook configuration file
  15   *
  16   * BEFORE EDITING THIS FILE!
  17   *
  18   * Don't edit this file directly.  Copy it to config.php before you
  19   * edit it.  However, it is best to use the configuration script
  20   * conf.pl if at all possible.  That is the easiest and cleanest way
  21   * to configure.
  22   *
  23   */
  24  
  25  global $version;
  26  $config_version = '4.0';
  27  
  28  
  29  /*** Organization preferences ***/
  30  /**
  31   * Organization's name
  32   * @global string $org_name
  33   */
  34  $org_name      = "My Company";
  35  
  36  
  37  // if default css is brown
  38  /**
  39   * Organization's logo picture (blank if none)
  40   * @global string $org_logo
  41   */
  42  $org_logo      = SM_PATH . 'images/overlook.gif';
  43  
  44  /**
  45   * The width of the logo (0 for default)
  46   * @global string $org_logo_width
  47   */
  48  $org_logo_width  = '308';
  49  
  50  /**
  51   * The height of the logo (0 for default)
  52   * @global string $org_logo_height
  53   */
  54  $org_logo_height = '111';
  55  
  56  /**
  57   * Webmail Title
  58   *
  59   * This is the web page title that appears at the top of the browser window.
  60   * @global string $org_title
  61   */
  62  $org_title     = "OverLook ".$config_version;
  63  
  64  /**
  65   * Signout page
  66   *
  67   * Rather than going to the signout.php page (which only allows you
  68   * to sign back in), setting signout_page allows you to sign the user
  69   * out and then redirect to whatever page you want. For instance,
  70   * the following would return the user to your home page:
  71   *   $signout_page = '/';
  72   * Set to the empty string to continue to use the default signout page.
  73   * @global string $signout_page
  74   */
  75  $signout_page  = '';
  76  
  77  /**
  78   * Default language
  79   *
  80   *   This is the default language. It is used as a last resort
  81   *   if SquirrelMail can't figure out which language to display.
  82   *   Language names usually consist of language code, undercore
  83   *   symbol and country code
  84   * @global string $squirrelmail_default_language
  85   */
  86  $squirrelmail_default_language = 'en_EN';
  87  
  88  /**
  89   * Default begin of week
  90   * 0 sunday, 1 monday
  91   *
  92   */
  93  
  94  $overcalendar_default_week_begin = '1';
  95  
  96  /**
  97   * Default summary string length for view
  98   * characters number
  99   *
 100   */
 101  
 102  $overcalendar_default_summary_lenght = '40';
 103  
 104  $overcalendar_defaultstarthour="0800";
 105  $overcalendar_defaultendhour="1900";
 106  $overcalendar_defaultstep=15;
 107  
 108  /**
 109   * Top frame
 110   *
 111   * By default SquirrelMail takes up the whole browser window,
 112   * this allows you to embed it within sites using frames. Set
 113   * this to the frame you want it to stay in.
 114   * @global string $frame_top
 115   */
 116  $frame_top     = '_top';
 117  
 118  /**
 119   * Provider name
 120   *
 121   * Here you can set name of the link displayed on the right side of main page.
 122   *
 123   * Link will be displayed only if you have $hide_sm_attributions
 124   * option set to true.
 125   * @global string $provider_name
 126   */
 127  $provider_name     = 'Overlook '. $config_version;
 128  
 129  /**
 130   * Provider URI
 131   *
 132   * Here you can set URL of the link displayed on the right side of main page.
 133   *
 134   * Link will be displayed only if you have $hide_sm_attributions
 135   * option set to true.
 136   * @global string $provider_uri
 137   */
 138  $provider_uri     = 'http://mydomain.com/';
 139  
 140  /*** Server Settings ***/
 141  /**
 142   * Default Domain
 143   *
 144   * The domain part of local email addresses.
 145   *   This is for all messages sent out from this server.
 146   *   Reply address is generated by $username@$domain
 147   * Example: In bob@foo.com, foo.com is the domain.
 148   * @global string $domain
 149   */
 150  $domain                 = 'mydomain.com';
 151  
 152  /**
 153   * Time offset inversion
 154   *
 155   * If you are running on a machine that doesn't have the tm_gmtoff
 156   * value in your time structure and if you are in a time zone that
 157   * has a negative offset, you need to set this value to 1. This is
 158   * typically people in the US that are running Solaris 7.
 159   * @global bool $invert_time
 160   */
 161  $invert_time            = false;
 162  
 163  /**
 164   * Default send transport
 165   *
 166   * What should be used when sending email.
 167   * If it is set to false, SquirrelMail will use SMTP server settings.
 168   * If it is set to true, SquirrelMail will use program defined in
 169   * $sendmail_path
 170   * @global bool $useSendmail
 171   */
 172  $useSendmail            = false;
 173  
 174  /**
 175   * Your SMTP server (usually the same as the IMAP server).
 176   * @global string $smtpServerAddress
 177   */
 178  $smtpServerAddress      = 'mysmtpserver';
 179  
 180  /**
 181   * Your SMTP port number (usually 25).
 182   * @global integer $smtpPort
 183   */
 184  $smtpPort               = 25;
 185  
 186  /**
 187   * SquirrelMail header encryption
 188   *
 189   * Encryption key allows to hide SquirrelMail Received: headers
 190   * in outbound messages. Interface uses encryption key to encode
 191   * username, remote address and proxied address, then stores encoded
 192   * information in X-Squirrel-* headers.
 193   *
 194   * Warning: used encryption function is not bulletproof. When used
 195   * with static encryption keys, it provides only minimal security
 196   * measures and information can be decoded quickly.
 197   *
 198   * Encoded information can be decoded with decrypt_headers.php script
 199   * from SquirrelMail contrib/ directory.
 200   * @global string $encode_header_key
 201   * @since 1.5.1 and 1.4.5
 202   */
 203  $encode_header_key = '';
 204  
 205  /**
 206   * Path to Sendmail
 207   *
 208   * Program that should be used when sending email. SquirrelMail expects that
 209   * this program will follow options used by original sendmail
 210   * (http://www.sendmail.org).
 211   * @global string $sendmail_path
 212   */
 213  $sendmail_path          = '/usr/sbin/sendmail';
 214  
 215  /**
 216   * IMAP server address
 217   *
 218   * The dns name (or IP address) for your imap server.
 219   * @global string $imapServerAddress
 220   */
 221  $imapServerAddress      = 'www.myserverimap.com';
 222  
 223  /**
 224   * IMAP server port
 225   *
 226   * Port used by your imap server. (Usually 143)
 227   * @global integer $imapPort
 228   */
 229  $imapPort               = 143;
 230  
 231  /**
 232   * IMAP server type
 233   *
 234   * The type of IMAP server you are running.
 235   * Valid type are the following (case is important):
 236   *   courier
 237   *   cyrus
 238   *   exchange
 239   *   uw
 240   *   macosx
 241   *   dovecot 
 242   *   other
 243   * suggested configuration for dovecot:
 244               $imap_server_type               = "dovecot";
 245               $default_folder_prefix          = "";
 246               $trash_folder                   = "Trash";
 247               $sent_folder                    = "Sent";
 248               $draft_folder                   = "Drafts";
 249               $show_prefix_option             = false;
 250               $default_sub_of_inbox           = false;
 251               $show_contain_subfolders_option = false;
 252               $delete_folder                  = false;
 253               $force_username_lowercase       = true;
 254               $optional_delimiter             = "detect";
 255   *
 256   * Please note that this changes only some of server settings.
 257   *
 258   * In order to set everything correctly, you need to adjust several
 259   * squirrelmail options. These options are listed in doc/presets.txt
 260   * @global string $imap_server_type
 261   */
 262  $imap_server_type       = 'courier';
 263  
 264  /**
 265   * Advanced IMAP authentication options control
 266   *
 267   * CRAM-MD5, DIGEST-MD5, Plain, and TLS
 268   * Set reasonable defaults - you'd never know this was there unless you ask for it
 269   * @global bool $use_imap_tls
 270   */
 271  $use_imap_tls = false;
 272  
 273  /**
 274   * Advanced SMTP authentication options control
 275   *
 276   * CRAM-MD5, DIGEST-MD5, Plain, and TLS
 277   * Set reasonable defaults - you'd never know this was there unless you ask for it
 278   * @global bool $use_smtp_tls
 279   */
 280  $use_smtp_tls = false;
 281  
 282  /**
 283   * SMTP authentication mechanism
 284   *
 285   * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
 286   * @global string $smtp_auth_mech
 287   */
 288  $smtp_auth_mech = 'none';
 289  
 290  /**
 291   * IMAP authentication mechanism
 292   *
 293   * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
 294   * @global string $imap_auth_mech
 295   */
 296  $imap_auth_mech = 'login';
 297  
 298  /**
 299   * IMAP folder delimiter
 300   *
 301   * This is the delimiter that your IMAP server uses to distinguish between
 302   * folders.  For example, Cyrus uses '.' as the delimiter and a complete
 303   * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
 304   * look like 'INBOX/Friends/Bob'.  Normally this should be left at 'detect'
 305   * but if you are sure you know what delimiter your server uses, you can
 306   * specify it here.
 307   *
 308   * To have it autodetect the delimiter, set it to 'detect'.
 309   * @global string $optional_delimiter
 310   */
 311  $optional_delimiter     = '.';
 312  
 313  /**
 314   * POP before SMTP setting
 315   *
 316   * Do you wish to use POP3 before SMTP?  Your server must
 317   * support this in order for SquirrelMail to work with it.
 318   * @global bool $pop_before_smtp
 319   */
 320  $pop_before_smtp        = false;
 321  
 322  /*** Folder Settings ***/
 323  /**
 324   * Default IMAP folder prefix
 325   *
 326   * Many servers store mail in your home directory. With this, they
 327   * store them in a subdirectory: mail/ or Mail/, etc. If your server
 328   * does this, please set this to what the default mail folder should
 329   * be. This is still a user preference, so they can change it if it
 330   * is different for each user.
 331   *
 332   * Example:
 333   *     $default_folder_prefix = 'mail/';
 334   *        -- or --
 335   *     $default_folder_prefix = 'Mail/folders/';
 336   *
 337   * If you do not use this, set it to the empty string.
 338   * @global string $default_folder_prefix
 339   */
 340  $default_folder_prefix          = 'INBOX.';
 341  
 342  /**
 343   * User level prefix control
 344   *
 345   * If you do not wish to give them the option to change this, set it
 346   * to false. Otherwise, if it is true, they can change the folder prefix
 347   * to be anything.
 348   * @global bool $show_prefix_option
 349   */
 350  $show_prefix_option             = false;
 351  
 352  /**
 353   * The following are related to deleting messages.
 354   *   $default_move_to_trash
 355   *      If this is set to 'true', when 'delete' is pressed, it
 356   *      will attempt to move the selected messages to the folder
 357   *      named $trash_folder. If it's set to 'false', we won't even
 358   *      attempt to move the messages, just delete them.
 359   *   $default_move_to_sent
 360   *      If this is set to 'true', sent messages will be stored in
 361   *      $sent_folder by default.
 362   *   $default_save_as_draft
 363   *      If this is set to 'true', users are able to use $draft_folder
 364   *      to store their unfinished messages.
 365   *   $trash_folder
 366   *      This is the path to the default trash folder. For Cyrus
 367   *      IMAP, it would be 'INBOX.Trash', but for UW it would be
 368   *      'Trash'. We need the full path name here.
 369   *   $draft_folder
 370   *      This is the patch to where Draft messages will be stored.
 371   *   $auto_expunge
 372   *      If this is true, when a message is moved or copied, the
 373   *      source mailbox will get expunged, removing all messages
 374   *      marked 'Deleted'.
 375   *   $sent_folder
 376   *      This is the path to where Sent messages will be stored.
 377   *   $delete_folder
 378   *      If this is true, when a folder is deleted then it will
 379   *      not get moved into the Trash folder.
 380   * @global bool $default_move_to_trash
 381   * @global bool $default_move_to_sent
 382   * @global bool $default_save_as_draft
 383   * @global string $trash_folder
 384   * @global string $sent_folder
 385   * @global string $draft_folder
 386   * @global bool $auto_expunge
 387   * @global bool $delete_folder
 388   */
 389  $default_move_to_trash          = true;
 390  $default_move_to_sent           = true;
 391  $default_save_as_draft          = true;
 392  $trash_folder                   = 'Trash';
 393  $sent_folder                    = 'Sent';
 394  $draft_folder                   = 'Drafts';
 395  $auto_expunge                   = true;
 396  $delete_folder                  = false;
 397  
 398  /**
 399   * Special Folder Color Control
 400   *
 401   * Whether or not to use a special color for special folders. If not,
 402   * special folders will be the same color as the other folders.
 403   * @global bool $use_special_folder_color
 404   */
 405  $use_special_folder_color       = true;
 406  
 407  /**
 408   * Create Special Folders Control
 409   *
 410   * Should I create the Sent and Trash folders automatically for
 411   * a new user that doesn't already have them created?
 412   * @global bool $auto_create_special
 413   */
 414  $auto_create_special            = true;
 415  
 416  /**
 417   * List Special Folders First Control
 418   *
 419   * Whether or not to list the special folders first (true/false).
 420   * @global bool $list_special_folders_first
 421   */
 422  $list_special_folders_first     = true;
 423  
 424  /**
 425   * Subfolder Layout Control
 426   *
 427   * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
 428   * If you are unsure, set it to false.
 429   * @global bool $default_sub_of_inbox
 430   */
 431  $default_sub_of_inbox           = false;
 432  
 433  /**
 434   * Subfolder Format Control
 435   *
 436   * Some IMAP daemons (UW) handle folders weird. They only allow a
 437   * folder to contain either messages or other folders, not both at
 438   * the same time. This option controls whether or not to display an
 439   * option during folder creation. The option toggles which type of
 440   * folder it should be.
 441   *
 442   * If this option confuses you, just set it to 'true'. You can not hurt
 443   * anything if it's true, but some servers will respond weird if it's
 444   * false. (Cyrus works fine whether it's true OR false).
 445   * @global bool $show_contain_subfolders_option
 446   */
 447  $show_contain_subfolders_option = false;
 448  
 449  /**
 450   * These next two options set the defaults for the way that the
 451   * users see their folder list.
 452   *   $default_unseen_notify
 453   *       Specifies whether or not the users will see the number of
 454   *       unseen in each folder by default and also which folders to
 455   *       do this to. Valid values are: 1=none, 2=inbox, 3=all.
 456   *   $default_unseen_type
 457   *       Specifies the type of notification to give the users by
 458   *       default. Valid choice are: 1=(4), 2=(4,25).
 459   * @global integer $default_unseen_notify
 460   * @global integer $default_unseen_type
 461   */
 462  $default_unseen_notify          = 2;
 463  $default_unseen_type            = 1;
 464  
 465  /**
 466   * NoSelect Fix Control
 467   *
 468   * This enables the no select fix for Cyrus when subfolders
 469   * exist but parent folders do not
 470   * @global bool $noselect_fix_enable
 471   */
 472  $noselect_fix_enable            = false;
 473  
 474  /*** General options ***/
 475  /**
 476   * Default Charset
 477   *
 478   * This option controls what character set is used when sending mail
 479   * and when sending HTML to the browser. Do not set this to US-ASCII,
 480   * use ISO-8859-1 instead.
 481   *
 482   * Currently this option is disabled. SquirrelMail uses charset that depends
 483   * on default language. See $squirrelmail_default_language
 484   *
 485   * @global string $default_charset
 486   */
 487  $default_charset          = 'iso-8859-1';
 488  
 489  /**
 490   * Lossy Encoding Control
 491   *
 492   * This option allows charset conversions when output charset does not support
 493   * all symbols used in original charset. Symbols unsupported by output charset
 494   * will be replaced with question marks.
 495   * @global bool $lossy_encoding
 496   * @since 1.4.4 and 1.5.1
 497   */
 498  $lossy_encoding = false;
 499  
 500  /**
 501   * Path to the data/ directory
 502   *
 503   *   It is a possible security hole to have a writable directory
 504   *   under the web server's root directory (ex: /home/httpd/html).
 505   *   For this reason, it is possible to put the data directory
 506   *   anywhere you would like. 
 507   *   Here is an example:
 508   *
 509   *   $data_dir = '/usr/local/overlook/data/';
 510   *
 511   * @global string $data_dir
 512   */
 513  $data_dir                 = '/var/cache/overlook/data/';
 514  
 515  /**
 516   * Attachments directory
 517   *
 518   * Path to directory used for storing attachments while a mail is
 519   * being sent. There are a few security considerations regarding
 520   * this directory:
 521   *    + It should have the permission 733 (rwx-wx-wx) to make it
 522   *      impossible for a random person with access to the webserver to
 523   *      list files in this directory. Confidential data might be laying
 524   *      around there.
 525   *    + Since the webserver is not able to list the files in the content
 526   *       is also impossible for the webserver to delete files lying around
 527   *       there for too long.
 528   *    + It should probably be another directory than data_dir.
 529   * @global string $attachment_dir
 530   */
 531  $attachment_dir           = $data_dir;
 532  
 533  /**
 534   * Hash level used for data directory.
 535   *
 536   * This option allows spliting file based squirrelmail user
 537   * data storage directory into several subfolders. Number from
 538   * 0 to 4 allows allows having up to four subfolder levels.
 539   *
 540   * Hashing should speed up directory access if you have big number
 541   * of users (500 and more).
 542   * @global integer $dir_hash_level
 543   */
 544  $dir_hash_level           = 0;
 545  
 546  /**
 547   * Default Size of Folder List
 548   *
 549   * This is the default size of the folder list. Default
 550   * is 150, but you can set it to whatever you wish.
 551   * @global string $default_left_size
 552   */
 553  $default_left_size        = '240';
 554  
 555  /**
 556   * Username Case Control
 557   *
 558   * Some IMAP servers allow a username (like 'bob') to log in if they use
 559   * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
 560   * preference files.  Toggling this option to true will transparently
 561   * change all usernames to lowercase.
 562   * @global bool $force_username_lowercase
 563   */
 564  $force_username_lowercase = true;
 565  
 566  /**
 567   * Email Priority Control
 568   *
 569   * This option enables use of email priority flags by end users.
 570   * @global bool $default_use_priority
 571   */
 572  $default_use_priority     = true;
 573  
 574  /**
 575   * OverLook Attributions Control
 576   *
 577   * This option disables display of "created by OverLook developers"
 578   * strings and provider link
 579   * @global bool $hide_sm_attributions
 580   */
 581  $hide_sm_attributions     = true;
 582  
 583  /**
 584   * Delivery Receipts Control
 585   *
 586   * This option enables use of read/delivery receipts by end users.
 587   * @global bool $default_use_mdn
 588   */
 589  $default_use_mdn          = true;
 590  
 591  /**
 592   * Identity Controls
 593   *
 594   * If you don't want to allow users to change their email address
 595   * then you can set $edit_identity to false, if you want them to
 596   * not be able to change their full name too then set $edit_name
 597   * to false as well. $edit_name has no effect unless $edit_identity
 598   * is false;
 599   * @global bool $edit_identity
 600   * @global bool $edit_name
 601   */
 602  $edit_identity            = true;
 603  $edit_name                = true;
 604  
 605  /**
 606   * SquirrelMail adds username information to every sent email.
 607   * It is done in order to prevent possible sender forging when
 608   * end users are allowed to change their email and name
 609   * information.
 610   *
 611   * You can disable this header, if you think that it violates
 612   * user's privacy or security. Please note, that setting will
 613   * work only when users are not allowed to change their identity.
 614   *
 615   * See SquirrelMail bug tracker #847107 for more details about it.
 616   * @global bool $hide_auth_header
 617   * @since 1.5.1 and 1.4.5
 618   */
 619  $hide_auth_header = false;
 620  
 621  /**
 622   * Server Side Threading Control
 623   *
 624   * If you want to enable server side thread sorting options
 625   * Your IMAP server must support the THREAD extension for
 626   * this to work.
 627   * @global bool $allow_thread_sort
 628   */
 629  $allow_thread_sort        = true;
 630  
 631  /**
 632   * Server Side Sorting Control
 633   *
 634   * to use server-side sorting instead of SM client side.
 635   * Your IMAP server must support the SORT extension for this
 636   * to work.
 637   * @global bool $allow_server_sort
 638   */
 639  $allow_server_sort        = true;
 640  
 641  /**
 642   * IMAP Charset Use Control
 643   *
 644   * This option allows you to choose if SM uses charset search
 645   * Your imap server should support SEARCH CHARSET command for
 646   * this to work.
 647   * @global bool $allow_charset_search
 648   */
 649  $allow_charset_search     = true;
 650  
 651  /**
 652   * IMAP UID control
 653   *
 654   * This option allows you to enable unique identifier (UID) support.
 655   * @global bool $uid_support
 656   */
 657  $uid_support              = true;
 658  
 659  /**
 660   * PHP session name.
 661   *
 662   * Leave this alone unless you know what you are doing.
 663   * @global string $session_name
 664   */
 665  $session_name = 'OVSESSID';
 666  
 667  /**
 668   * Themes
 669   *   You can define your own theme and put it in this directory.
 670   *   You must call it as the example below. You can name the theme
 671   *   whatever you want. For an example of a theme, see the ones
 672   *   included in the config directory.
 673   *
 674   * To add a new theme to the options that users can choose from, just
 675   * add a new number to the array at the bottom, and follow the pattern.
 676   *
 677   * $theme_default sets theme that will be used by default
 678   * $theme_css sets stylesheet (from theme/css directory) that will be
 679   * used by default.
 680   * @global integer $theme_default
 681   * @global string $theme_css
 682   */
 683  $theme_default = 0;
 684  // default css: brown or hyperlife
 685  $theme_css = 'brown';
 686  
 687  /**
 688   * Listing of installed themes
 689   * @global array $theme
 690   */
 691  $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
 692  $theme[0]['NAME'] = 'Default';
 693  
 694  /**
 695   * Javascript in Addressbook Control
 696   *
 697   * Users may search their addressbook via either a plain HTML or Javascript
 698   * enhanced user interface. This option allows you to set the default choice.
 699   * Set this default choice as either:
 700   *    true  = javascript
 701   *    false = html
 702   * @global bool $default_use_javascript_addr_book
 703   */
 704  $default_use_javascript_addr_book = true;
 705  
 706  /**
 707   * MOTD
 708   *
 709   * This is a message that is displayed immediately after a user logs in.
 710   * @global string $motd
 711   */
 712  $motd = "";
 713  
 714  /**
 715   * To install plugins, just add elements to this array that have
 716   * the plugin directory name relative to the /plugins/ directory.
 717   * For instance, for the 'sqclock' plugin, you'd put a line like
 718   * the following.
 719   */
 720  // Add list of enabled plugins here
 721  $plugins[0] = 'overlook';         //obbligatory!!! -> branch OverLook of SquirrelMail
 722  $plugins[1] = 'gpg';            //plugin gpg of SquirrelMail    
 723  $plugins[2] = 'overcalendar';        //OverCalendar -> calendary of OverLook
 724  
 725  /*** Database ***/
 726  /**
 727   * Database-driven addressbooks:
 728   *   DSN (Data Source Name) for a database where the addressbooks are stored.  
 729   *   If it is not set, the addressbooks are stored in files in the data dir.
 730   *   The DSN is in the format: mysql://user:pass@hostname/dbname
 731   *   The DSN is in the format: psql://user:pass@hostname/dbname
 732   *   The table is the name of the table to use within the
 733   *   specified database.
 734   *
 735   * Database-driven calendar:
 736   *   DSN (Data Source Name) for a database where the events are stored.  
 737   *   The DSN is in the format: psql://user:pass@hostname/dbname
 738   *   The table is the name of the table to use within the
 739   *   specified database.
 740   *
 741   * Database-driven prefs: NOT IMPLEMENTED!!!
 742   *   DSN (Data Source Name) for a database where the events are stored.  
 743   *   The DSN is in the format: psql://user:pass@hostname/dbname
 744   *   The table is the name of the table to use within the
 745   *   specified database.
 746   */
 747  
 748  //$domains_sql['mydomain1'] = array(
 749  //    'addrbook_dsn' => 'psql://user:passwd@localhost/database',
 750  //    //'addrbook_dsn' => 'mysql://user:passwd@localhost/database',
 751  //    'addrbook_table' => 'AddressBook',
 752  //    'group_addrbook_table' => 'Group_AddressBook',
 753  //    'addrbook_table_user' => 'Utenti',
 754  //    'calendar_dsn' => 'psql://user:passwd@localhost/database',
 755  //    'calendar_table' => 'vevents',
 756  //    'calendar_table_action' => 'vevents_action',
 757  //    'calendar_table_alarm' => 'valarms',
 758  //    'calendar_table_todo' => 'vtodos',
 759  //    'calendar_table_user' => 'vusers',
 760  //    //START NOT IMPLEMENTED
 761  //      'prefs_dsn' => '',
 762  //      'prefs_table' => 'userprefs',
 763  //      'prefs_user_field' => 'user',
 764  //      'prefs_key_field' => 'prefkey',
 765  //      'prefs_val_field' => 'prefval'
 766  //    //END NOT IMPLEMENTED
 767  //);
 768  
 769  /**
 770   * Subscribe Listing Control
 771   *
 772   * this disables listing all of the folders on the IMAP Server to
 773   * generate the folder subscribe listbox (this can take a long time
 774   * when you have a lot of folders).  Instead, a textbox will be
 775   * displayed allowing users to enter a specific folder name to subscribe to
 776   *
 777   * This option can't be changed by conf.pl
 778   * @global bool $no_list_for_subscribe
 779   */
 780  $no_list_for_subscribe = false;
 781  
 782  /**
 783   * Color in config control
 784   *
 785   * This option is used only by conf.pl script to generate configuration
 786   * menu with some colors and is provided here only as reference.
 787   * @global integer $config_use_color
 788   */
 789  $config_use_color = 2;
 790  
 791  /**
 792   * This option includes special configuration options
 793   */
 794  @include  SM_PATH . 'config/config_local.php';
 795  
 796  /**
 797   * Make sure there are no characters after the PHP closing
 798   * tag below (including newline characters and whitespace).
 799   * Otherwise, that character will cause the headers to be
 800   * sent and regular output to begin, which will majorly screw
 801   * things up when we try to send more headers later.
 802   */
 803  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]