Skip to content

Instantly share code, notes, and snippets.

@flevour
Created September 10, 2012 09:17
Show Gist options
  • Save flevour/3689848 to your computer and use it in GitHub Desktop.
Save flevour/3689848 to your computer and use it in GitHub Desktop.
file di index
<?php
use ActiveRecord\Config;
require_once 'vendor/autoload.php';
$cfg = Config::instance();
echo 'ok';
// OPPURE
require_once 'vendor/autoload.php';
$cfg = \ActiveRecord\Config::instance();
echo 'ok';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment