If you want to customize the core of NanoMVC, you should copy
sysfiles/NanoMVC.php to myfiles/NanoMVC.php. (You can also place it in the myapp folder if you prefer.)
Then, replace the following line in myfiles/NanoMVC.php:
require_once dirname(__FILE__) . DS . 'NanoMVCCore.php'; // main core class
with this line:
require_once dirname(__FILE__) . DS . '..' . DS . 'sysfiles' . DS . 'NanoMVCCore.php'; // main core class
And in your index.php file, replace:
// Load the core NanoMVC system
require NMVC_BASEDIR . 'sysfiles' . DS . 'NanoMVC.php';
with:
// Load the core NanoMVC system
require NMVC_BASEDIR . 'myfiles' . DS . 'NanoMVC.php';
With these changes, you will be able to customize everything you want using PHP capabilities like method overriding and more.
You will still be able to receive NanoMVC updates, because all core logic is handled in NanoMVCCore.php,
which is not affected by your custom NanoMVC.php.