[
https://issues.apache.org/jira/browse/SHINDIG-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brent Theisen updated SHINDIG-927:
----------------------------------
Attachment: fix-927-bug.patch
Replace file_exist() call with fopen() call that looks for config/local.php in
the include paths.
> Check for existence of config/local.php in include path
> -------------------------------------------------------
>
> Key: SHINDIG-927
> URL: https://issues.apache.org/jira/browse/SHINDIG-927
> Project: Shindig
> Issue Type: Improvement
> Components: PHP
> Affects Versions: trunk
> Environment: CentOS
> Reporter: Brent Theisen
> Priority: Trivial
> Fix For: trunk
>
> Attachments: fix-927-bug.patch
>
> Original Estimate: 0.02h
> Remaining Estimate: 0.02h
>
> I'm using an svn external to deploy shindig on production Linux servers as
> well as our development team's MacBooks. So, I need a config/local.php for
> both production and our local development environment. That way, I can have
> compress_javascript off and debug on when I'm developing locally but still
> have the correct setup in production.
> The directory structure and config files are like so:
> htdocs/shindig/ (svn:externals property set to shindig trunk)
> htdocs/shindig_configs/local/config/local.php
> htdocs/shindig_configs/prod/config/local.php
> Then for the Apache httpd.conf for prod I set the include path to something
> like "htdocs/shindig_configs/prod:.:/htdocs/shindig". For the local
> development httpd.conf I have the same include path directive except the
> first path is htdocs/shindig_configs/local.
> But this doesn't work until changing the file_exists() call in Config.php to
> a fopen() that looks for the file in the include path. I'm including the
> patch I'm using in the hopes you guys might commit it. Thanks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.