JHTML::_('behavior.modal', "a.modal");
<a href="link-to.html" class="modal">link in modal</a>
// All configurations will extend these options
// ============================================
var all = {
env: process.env.NODE_ENV,
// Root path of server
root: path.normalize(__dirname + '/../../..'),
// Server port
port: process.env.PORT || 9000,
// Should we populate the DB with sample data?
seedDB: false,
// ...
}
// Export the config object based on the NODE_ENV
// ==============================================
module.exports = _.merge(
all,
require('./' + process.env.NODE_ENV + '.js') || {});
module.exports = _.merge(all, require('./local.js') || {});
$var = "stdClass(); call_some_dangerous_function(); \x0";
eval('$bar = new '.$var.'Class(\'var for __construct()\');');