How to make update-safe changes (Area.php Room.php)?
Brought to you by:
jberanek
Hi
MRBS version: 1.10.0
I have made some changes to Area.php an Room.php (to be able to implement a per-ldap group role-based access to rooms in a specific area).
Is there a way to make this update-safe, because very time i update to the latest version, i have to merge my changes on the bottom of the files again?
Best,
Thomas
Not very easily. The things you could do are
Hi
Thanks. Is there any include file that is automatically included so i.e. "Room-local.php" or similar? Then i could have my changes in there and it is update-safe.
Ah, I've just realised, given the file names, that you must be using the roles branch. In which case you could just extend those classes. For example
But then you'd have to change
RoomtoMyRoomthroughout the rest of MRBS.Ok this won't help either, but thanks a lot anyway :)