Moving applications and system folder to Dropbox - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Moving applications and system folder to Dropbox (/showthread.php?tid=66502) |
Moving applications and system folder to Dropbox - jlongwi - 10-27-2016 New CI user here. I am developing a site using two different machines. I have XAMPP installed and running both at home (Win10) and at work (Mac OS X). I have installed CI on both systems. My goal is to move the system and application folders into Dropbox so that changes I make on one machine are available from the other. I have successfully done this on the PC, but I am having problems configuring the local CI index.php on the Mac. On the Mac, CI is installed at /Applications/XAMPP/xamppfiles/htdocs/codeigniter. I can access it from http://localhost/codeigniter, and it works fine when I reference the locally installed system and application folders: PHP Code: $system_path = 'system'; However, I get an error message telling me to properly configure index.php when I reference the Dropbox-based folders: PHP Code: $system_path = '//Macintosh HD/Users/lonr8x/Dropbox/ccc/codeigniter/system'; I would appreciate any insight. RE: Moving applications and system folder to Dropbox - d4jk4 - 10-28-2016 Hi you don't need config variables like that. In MacOSx you just use command in document root web folder: ln -s path_to_system_folder_in_Dropbox system ln -s path_to_application_folder_in_Dropbox application In Windows I never tried before because I don't use WIndows But I think you do the same via create short cut in Windows It is really easy if you use Linux |