-
-
Save suabo/41a1a9f36c5ce01d5a7a to your computer and use it in GitHub Desktop.
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 | |
require_once __DIR__.'/../core/oxfunctions.php'; | |
function gn2_autoload_shim($class) { (substr($class, -7) == "_parent") ? eval('class '.$class.' {}') : ""; } | |
spl_autoload_register('gn2_autoload_shim') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment