1
belia
Templates_c Cleaner problem
  • 2007/12/29 8:21

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


i've use a template_c cleaner from this link

http://www.7dana.com/download/pafiledb.php?action=category&id=7

this module works as expected except it will delete also the index.html in the folder

i've read somewhere that it is required for us to leave the index.html file in the templatec folder (correct me if i'm wrong)

so how do i modify the module in order the index.html not be deleted

the module is simple have only several files

i think it can be modify in the clean.php file in the admin folder
Quote:

chdir("../../../templates_c");
system("rm -rf -- .* *");
?>
The compiled templates cache ("templates_c" directory) has been cleaned up.


help

2
irmtfan
Re: Templates_c Cleaner problem
  • 2007/12/29 8:48

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:

i've read somewhere that it is required for us to leave the index.html file in the templates_c folder.

it is help you to have more secure template_c folder but its not that important.

i have a high traffic website with many attempt to attack and now i see i delete index.html months ago.
so i think its secure enough or in the other word it is not a security problem.

3
kris_fr
Re: Templates_c Cleaner problem
  • 2007/12/29 10:19

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


Hello,

Use the xoopscare module and/or xoopsinfo module

@++

4
belia
Re: Templates_c Cleaner problem
  • 2007/12/29 15:27

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


Quote:

it is help you to have more secure template_c folder but its not that important.



is that confirmed ?

Quote:

Use the xoopscare module module

thank you ..it is a great module

Login

Who's Online

357 user(s) are online (293 user(s) are browsing Support Forums)


Members: 0


Guests: 357


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits