Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty to update XOOPS automatically (hard modified files) #934

Closed
alain01 opened this issue Feb 3, 2021 · 2 comments
Closed

Difficulty to update XOOPS automatically (hard modified files) #934

alain01 opened this issue Feb 3, 2021 · 2 comments
Assignees

Comments

@alain01
Copy link
Contributor

alain01 commented Feb 3, 2021

Hi,
ok I will try to explain my thinking.

When we update XOOPS, there are some files hard modified by the webmaster but it's not hack core.

  • There is an existent process for the file mainfile.php:
    New XOOPS, there is "mainfile.dist.php" and during installation, generating the mainfile.php, so, no problem to update, no file overwrited

  • Same process for xoops_data/secure.dist.php
    After installation, there is xoops_data/secure.php, so, no problem to update, no file overwrited

Now here a hard modified files in XOOPS

  • \class\textsanitizer\config.php
    Imagine I add a new process in the \class\textsanitizer\monxoops\monxoops.php
    So i need to add a line in the file \class\textsanitizer\config.php
    'monxoops' => 1,
    So, when i will update XOOPS, my parameters will be overwrited, not the \textsanitizer\monxoops\monxoops.php, the \class\textsanitizer\config.php

  • Captcha:
    \class\captcha\config.php
    \config.recaptcha2.php
    \config.text.php
    \config.image.php
    These files could be hard modified, so we could lose our modification during update

So,
Is it possible to get a process like mainfile.php or xoops_data/_secure.php for these files ?

(xoops_data\xoopsconfig.php too)

@geekwright geekwright self-assigned this Feb 4, 2021
@geekwright
Copy link
Contributor

Good points. Let me look into it.

@alain01
Copy link
Contributor Author

alain01 commented Mar 7, 2021

Magnificent !
Crazy!
Thank you very much !

@alain01 alain01 closed this as completed Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants