# Login engine

**URL:** <https://www.ruby-forum.com/t/login-engine/95177>\
**Category:** Engines\
**Created:** [May 23, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/login-engine/95177 "2006-05-23T22:52:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clayton\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/cdc98d/32.png) [@Clayton\_C](https://www.ruby-forum.com/u/Clayton_C)\
**Post date:** [May 23, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/login-engine/95177/1 "2006-05-23T22:52:14Z")

</div>

Noticed some strange behaviour where the loginengine css in main public  
direcotry get rewritten all the time

Should check to see if file present and then place else don’t rewrite

Mostly a frustration

---

<div class="post-metadata">

**Author:** ![Clayton\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/cdc98d/32.png) [@Clayton\_C](https://www.ruby-forum.com/u/Clayton_C)\
**Post date:** [May 24, 2006, 11:14am UTC](https://www.ruby-forum.com/t/login-engine/95177/2 "2006-05-24T11:14:05Z")

</div>

Hi,

When you start an engine, it will recopy ALL public files under  
/public/engine\_files, if they are different from those within the  
individual engines. There is a README file created in that directory  
explaining this. You should never touch the contents of this  
directory, as there is no guarantee that your changes will persist.

If you wish to ‘override’ some of the CSS or Javascript, your changes  
must be in /public/stylesheets (or /public/javascripts) - either add  
new style rules with !important, or copy the engine stylesheet and  
make your changes in that. Remember to include your edits (and NOT  
include the engine stylesheet if that’s appropriate)

- James
