Last active
December 6, 2017 20:51
-
-
Save sarkarshuvojit/9915d7ed6e5ac5cce75b8e32c7bd69d6 to your computer and use it in GitHub Desktop.
Maintain core php project sample code
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 | |
function subview($file){ | |
$file = __DIR__.'/../views/sub-views/'.$file; | |
include $file; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment