Summary | faulty horde.local.php created by install_dev script |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | d-fens (at) 00010111 (dot) de |
Created | 02/24/2011 (5319 days ago) |
Due | |
Updated | 03/17/2011 (5298 days ago) |
Assigned | |
Resolved | 03/17/2011 (5298 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Bug #9596: Skip accidentally added "horde" in app list.1 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/a296356936f6caa9d34ada8e1c6a946017cfa5b8
config, along with imp etc, this is not filtered in line 178 so the
file gets overwritten, a if app != horde would fix it
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ faulty horde.local.php created by install_dev script
Type ⇒ Bug
State ⇒ Unconfirmed
somehow the install script crates this file for me:
<?php define('HORDE_BASE', '/var/www/catchall/htdocs/horde-git');
i miss the include path and closing "?>" there; horde doesn't work as it says
PHP Fatal error: require_once() [<a
href='function.require'>function.require</a>]: Failed opening required
'Horde/Autoloader/Default.php'
(include_path='/var/www/_horde/horde/horde/lib:.:/usr/share/php5:/usr/share/php') in /var/www/_horde/horde/horde/lib/core.php on line
44
in line 114 of the install_dev script there is
file_put_contents($horde_git . '/horde/config/horde.local.php', "<?php
if (!defined('HORDE_BASE')) define('HORDE_BASE', '$web_dir');
ini_set('include_path', '{$web_dir}/libs' . PATH_SEPARATOR .
ini_get('include_path'));");
but somehow the file gets overwritten late on in the script, strange