Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何为通过GitHub共享的CodeIgniter项目设置系统和应用程序文件夹名称?_Git_Codeigniter_Github - Fatal编程技术网

如何为通过GitHub共享的CodeIgniter项目设置系统和应用程序文件夹名称?

如何为通过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

我和一个朋友正在使用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-Project-Code/code_igniter/application';

我们都在本地环境中进行测试。我们可以做些什么来标准化这条路径,以便我们中的一方在另一方合并其分支时不必更改路径

如果可以在集成中手动部署,可以尝试将config.php添加到gitignore

更好的解决方案是评估为什么需要配置中的完整路径

为什么

$system_path = 'system';

不工作?

嘿,谢谢你给我回电话,对不起,已经有一段时间了。“系统”指的是什么?那会自动指向我的机器吗?