'type' => SMOPT_TYPE_BOOLEAN ),
'$abook_global_file_listing' => array( 'name' => _("Allow listing of global address book"),
'type' => SMOPT_TYPE_BOOLEAN ),
+ '$abook_file_line_length' => array( 'name' => _("Address book file line length"),
+ 'type' => SMOPT_TYPE_INTEGER ),
/* --------------------------------------------------------*/
'Group7' => array( 'name' => _("Templates"),
'type' => SMOPT_TYPE_TITLE ),
/* ---------------------- main -------------------------- */
-
-/** @ignore */
-define('SM_PATH','../../');
-
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/imap.php');
-require_once(SM_PATH . 'plugins/administrator/defines.php');
-require_once(SM_PATH . 'plugins/administrator/auth.php');
+/** main SquirrelMail include */
+require('../../include/init.php');
+/* configuration definitions */
+include_once(SM_PATH . 'plugins/administrator/defines.php');
+/* additional functions */
+include_once(SM_PATH . 'plugins/administrator/auth.php');
global $data_dir, $username;