如何为通过GitHub共享的CodeIgniter项目设置系统和应用程序文件夹名称?
我和一个朋友正在使用CodeIgniter进行一个PHP项目。每当我们合并一个分支时,系统和应用程序文件路径都是特定于我们自己的机器的。例如:如何为通过GitHub共享的CodeIgniter项目设置系统和应用程序文件夹名称?,git,codeigniter,github,Git,Codeigniter,Github,我和一个朋友正在使用CodeIgniter进行一个PHP项目。每当我们合并一个分支时,系统和应用程序文件路径都是特定于我们自己的机器的。例如: $system_path = '/Users/otherGuy/Documents/Aptana/Systems-A-D-Project-Code/code_igniter/system'; $application_folder = '/Users/otherGuy/Documents/Aptana/Systems-A-D-Proje
$system_path = '/Users/otherGuy/Documents/Aptana/Systems-A-D-Project-Code/code_igniter/system';
$application_folder = '/Users/otherGuy/Documents/Aptana/Systems-A-D-Project-Code/code_igniter/application';
我们都在本地环境中进行测试。我们可以做些什么来标准化这条路径,以便我们中的一方在另一方合并其分支时不必更改路径 如果可以在集成中手动部署,可以尝试将config.php添加到gitignore 更好的解决方案是评估为什么需要配置中的完整路径 为什么
$system_path = 'system';
不工作?嘿,谢谢你给我回电话,对不起,已经有一段时间了。“系统”指的是什么?那会自动指向我的机器吗?