This (outdated) section explained internally about sWADAH config.php file to configure your institutional repository.
Updated: Thursday 12 November 2020 11:58AM
The (outdated) listing below now has been replaced with in-file explanation. If you want to learn more about config.php, just read through the file itself 🙂
$system_mode | Selectable mode: demo / maintenance / live |
$installed_date | Set the installed date of this IR in YYYY-MM-DD format |
$system_title | Title of IR |
$system_identifier | Domain name for your IR eg. ir.company.com.my |
$system_domain | URL for your IR with http or https eg. https://ir.company.com.my must also include subdirectory for your installed sWADAH file eg. https://ir.company.com.my/swadah/ Must end with / |
$system_policy_url | Policy URL for your IR. Complete URL. |
$system_admin_email | Contactable admin email |
$system_owner | System owner wording |
$system_helpdesk_contact | Contact helpdesk support wording |
$ip_restriction_enabled | Restrict OPAC based on white-listed IP: true or false |
$dbhost $dbname $dbuser $dbpass | Database connection setting hostname or IP, database name, database user name and database password. |
$system_docs_directory $system_allow_document_extension $system_allow_document_maxsize | The following order: Directory for uploaded .pdf file (without the leading and following /), extension for pdf file (default is pdf), maximum size for pdf file (in bytes) |
$system_pdocs_directory $system_allow_pdocument_extension $system_allow_pdocument_maxsize $allow_guestpdf_insert_by_admin | The following order: Directory for uploaded guest pdf file (without the leading and following /), extension for guest pdf file (default is pdf), maximum size for guest pdf file (in bytes) and allow guest pdf file upload or not (true or false) |
$system_txts_directory $system_allow_txt_extension $system_allow_txt_maxsize $allow_txt_insert_by_admin | The following order: Directory for uploaded .txt file (without the leading and following /), extension for text file (default is txt), maximum size for text file (in bytes) and allow text file upload or not (true or false) |
$system_albums_directory $system_allow_imageatt_extension $system_allow_imageatt_maxsize $allow_image_insert_by_admin | The following order: Directory for uploaded picture file (without the leading and following /), extension for picture file (default is jpeg,jpg), maximum size for picture file (in bytes) and allow picture file upload or not (true or false) |
$default_view_input | simple or marc Marc view will enabled input as MARC record. |
$system_wide_resultPerPage | Number of result per page for search results. |
$subject_heading_as $subject_heading_delimiter | Redefined subject heading as something else and set the delimiter to be use for subject heading. |
$subject_heading_selectable | single or multi User can select just one subject heading or many |
$enable_access_to_itemtype $enable_access_to_subjectheading $enable_access_to_publisher | admin or all Enabling access to foundation modules: Item Type, Subject Heading, Publisher |
$show_subject_browser_guest $show_subject_browser_admin | true or false Control subject heading browser for guest and admin |
$allow_guest_access_to_ft | true or false Allow non-login user to access fulltext |
$allow_guest_access_to_pt | true of false Allow non-login user to access guest pdf |
$allow_user_to_login $allow_user_to_register | true or false Allowing user to login and register (future release). |
$searcher_button_visibility | true will show searcher access button on index page. false will hide it. |
$index2_back_to_top_icon $searcher_back_to_top_icon $searcher_show_icon_indicator | Misc control for searcher page. |
$enable_swadah_mobileapp_qrdownload $app_apk_url | Enable download of sWADAH mobile app and its download URL. |
$enable_fulltext_abstract_composer $fulltext_abstract_composer_type | Enable or disable access to full text and abstract composer for the input screen. richtext or simpletext. richtext provide MS Word-like editing while simpletext is notepad-like. |
$enable_reference_composer $reference_composer_type | Enable or disable access to reference composer for the input screen. richtext or simpletext. richtext provide MS Word-like editing while simpletext is notepad-like. |
$show_accession_number $show_control_number | Show or unshow accession number and control number. |
$delete_method | Item delete method either ‘takecover’ or ‘permanent’. More info in config.php |
$pdftxt_engine | pdf to text conversion engine to be use. More info in config.php |
$tag_020_simple $tag_020 $tag_020_show $tag_022_simple $tag_022 $tag_022_show $tag_090_simple $tag_090 $tag_090_show $tag_100_simple $tag_100 $tag_245_simple $tag_245 $tag_250_simple $tag_250 $tag_250_show $tag_264_simple $tag_264 $tag_264_show $tag_264_a_default $tag_300_simple $tag_300 $tag_300_show $tag_490_simple $tag_490 $tag_490_show $tag_500_simple $tag_500 $tag_500_hint $tag_500_show $tag_502_simple $tag_502 $tag_502_show $tag_502_inputtype $tag_502_b_selectable $tag_502_b_selectable_default $tag_650_simple $tag_650 $tag_650_show $tag_700_simple $tag_700 $tag_700_show $tag_710_simple $tag_710 $tag_710_show $tag_710_a_default $tag_852_simple $tag_852 $tag_852_show $tag_856_simple $tag_856 $tag_856_show | Various tag wording can be controlled by the admin. See example in the actual config.php |
$enable_oai_pmh | Enable OAI-PMH requests |
$oai_rights $oai_main_language $oai_main_format $oai_metadata_policy $oai_data_policy $oai_submission_policy | OAI PMH required values. |
$system_dfile_directory $system_allow_dfile_extension $system_allow_dfile_maxsize $system_pfile_directory $system_allow_pfile_extension $system_allow_pfile_maxsize $hide_main_author $hide_additional_authors_entry $enable_user_deposit $allow_depositor_function | Declaration for user self-deposit functions. You may enable this with enable_user_deposit and allow_depositor_function. Kindly refer to config.php for more info. |
$emailMode $emailHost $emailPort $emailUserName $emailPassword $emailSetFrom $emailSetFromName $emailFooter | sWADAH now uses phpmailer for handling communcation with the user self deposit module. Kindly refer to config.php for more info. |
$debug_search | Show debugging message for search engine. |
$copyright_info | Copyright info or notice or disclaimer for each item viewed in detail. |