<?php
require 'config.class.php';
Configuration::set('MySQL', [
'Hostname' => '127.0.0.1',
'Username' => 'root',
'Password' => 'root',
'Database' => 'database'
]);
Configuration::set([
'Example1' => 'Value1',
'Example2' => 'Value2'
]);
Configuration::set('Test', 'Value');
print_r(Configuration::get('MySQL'));
echo '<br />';
echo Configuration::get('Example1');
echo '<br />';
echo Configuration::get('Example2');
echo '<br />';
echo Configuration::get('Test');
?>
|