09-11-2016, 03:33 PM
I made changes to header.php and DB.php as I was working through how to add functionality while staying as close as possible to core.
I wasn't looking for a change to every one of my pages to include alternate_header.php instead of just header.php, although that would have been a workable solution.
But when I extended the WHERE condition in DB.php there was no way I could use that without changing the core file. If I could have copied it to usersc/Classes/DB.php and have it automatically override users/Classes/DB.php that would have been nice.
This is a preference on my part, not a big deal. If it causes other problems and there's no obvious solution then better not to implement it...
I wasn't looking for a change to every one of my pages to include alternate_header.php instead of just header.php, although that would have been a workable solution.
But when I extended the WHERE condition in DB.php there was no way I could use that without changing the core file. If I could have copied it to usersc/Classes/DB.php and have it automatically override users/Classes/DB.php that would have been nice.
This is a preference on my part, not a big deal. If it causes other problems and there's no obvious solution then better not to implement it...