Created
April 8, 2018 05:59
-
-
Save flayder/ca66c98a7546397f2751245883e6c524 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 \Bitrix\Main\Loader; | |
Loader::registerAutoLoadClasses($module = null, [ | |
'Site\\Controller' => '/local/php_interface/lib/Site/Controller.php', | |
]); | |
//usage | |
use Site\Controller; | |
$controller = new Controller(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment