This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint plusplus: true */ | |
/*global define: false, require: false, module: false, exports: false */ | |
(function (root, name, deps, factory) { | |
"use strict"; | |
if (typeof exports === 'object') { | |
// Node. Does not work with strict CommonJS, but | |
// only CommonJS-like enviroments that support module.exports, | |
// like Node. | |
module.exports = factory.apply(root, deps.map(require)); | |
} else if (typeof define === 'function' && define.amd) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use ActiveRecord\Config; | |
require_once 'vendor/autoload.php'; | |
$cfg = Config::instance(); | |
echo 'ok'; |