Well this morning i confirmed that it does work moving the template_c folder above the public_html
However this does not require a plugin to do so as that would be overkill as its so easy to do and noone would buy the plugin to do it when they can just change one line of code and change it.
So here is how you do it:
1. copy ow_smarty folder (the whole folder) to /home/username/ replace username with your cpanel or other panel username
2. in the oxwall directory change the name of ow_smarty to ow_smartyold just to be sure it uses the one you just copied.
3. open the oxwall config file ow_includes/config.php and change this line of code
define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS);
to
define('OW_DIR_SMARTY', '/home/username/ow_smarty'.DS);
again change username to your panel username
save the file DONE!!!
What i did was i just made a copy of that line of code and commented out the original so i can go back if i need to.
like so:
//changed location to above public_html for security
//define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS);
define('OW_DIR_SMARTY', '/home/username/ow_smarty'.DS);
Now your smarty is more secure. :)
If you want to test it, just go to the template_c folder above the public_html and select all inside that folder and delete it all. Then refresh your site, then look again, if there are files in there now then its working fine.
I am sure the same can be done with other config values but i have not yet tested those.
Have a good day :)
Dave