Simple YAML Config Reader 1.0

Simple YAML Config Reader can be used to read configuration settings from file YAML format. It uses a separate class named SPYC, written by Chris Wanstrath, to parse YAML configuration files and returns an associative array with pairs of configuration options and the respective values.

The configuration class uses the singleton pattern, so a configuration file is loaded and parsed only once per script.

Simple YAML Config Reader automatic switches between configuration files depending on the machine the script is running. It also checks the request query string for language parameter and automatically loads the contents of the relevant localization file into a global variable for easier use.

License type: GPL - GNU Public License
Date added: 7 years, 4 months 2 days ago | Last updated: 7 years, 4 months 2 days ago

More popular Configuration

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

simple-yaml-config-reader
  • localhost.yml
  • 675 Bytes
  • 12/17/2006 20:28:52
  • en.yml
  • 112 Bytes
  • 12/17/2006 20:28:52
  • fr.yml
  • 108 Bytes
  • 12/17/2006 20:28:52
Hot Scripts
Sponsors