PHP Classes

File: localhost.yml

Recommend this page to a friend!
  Classes of Chavo   Simple YAML Config Reader   localhost.yml   Download  
File: localhost.yml
Role: Auxiliary data
Content type: text/plain
Description: Sample configuration file
Class: Simple YAML Config Reader
Read configuration settings from YAML files
Author: By
Last change:
Date: 16 years ago
Size: 675 bytes
 

Contents

Class file image Download
--- #*** SOME EXAMPLE SETTINGS *** #--- MySQL Settings on localhost --- db_server:localhost db_user:root db_pass:mypassword db_name:testDatabase #--- next two settings are required if you wish to use the multilanguage features of the class #Langparam is the name of the parameter, at which the script would look when trying to determine which language to use; for example in this case query string should look like somescript.php?lang=en langparam:lang #next setting is an array containing the list of supported languages plus their codes; #first language in the list should be the default languages as well languages: en:English fr:French de:Deutsch