Skip to content

Instantly share code, notes, and snippets.

@ruliarmando
Last active August 29, 2015 13:56
Show Gist options
  • Save ruliarmando/8840373 to your computer and use it in GitHub Desktop.
Save ruliarmando/8840373 to your computer and use it in GitHub Desktop.
config class usage
<?php
require 'Config.php';
Config::load('config/main.php');
Config::set('timezone', 'Asia/Jakarta');
echo Config::get('base_url');
echo '<br />';
echo Config::get('timezone');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment