e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

possibility use captcha if e107 is installed as subdirectory #5074

Open Jimmi08 opened 9 months ago

Jimmi08 commented 9 months ago

Motivation

There is now this code in render secure image:

return "<img src='".e_IMAGE_ABS."secimg.php?id={$this->random_number}&amp;clr={$color}'

With site structure: {e107 is installed in subdirectory but used in cms in level above)

site/e107/standard installation site/config.php - including e107/class2.php site/contact.php (when captcha is needed)

path for image was:

site/e107_images/secimg.php

after changing e_IMAGE_ABS to e_IMAGE problem with path was fixed but image is still not rendered,

site/e107/e107_images/secimg.php

Proposed Solution

Could this be changed?
Thanks