The simplest method to have a portable system to share source code with php
is to include a file inside another.
Example if you want model.php and model1.php with the same source code
inside:
Every changes on model.php is reflected on model1.php.
file: model1.php
----------------
<?php include('model.php'); ?>
Better of symlink
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---