yweb: fix fallback path to extentions.txt

Origin commit data
------------------
Commit: 431ec51419
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-07-05 (Fri, 05 Jul 2013)

Origin message was:
------------------
- yweb: fix fallback path to extentions.txt
This commit is contained in:
vanhofen
2013-07-05 13:35:08 +02:00
parent 9a41f04867
commit b1f1b659aa
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{=var-set:extension={=if-file-exists:/var/tuxbox/config/extentions.txt~/var/tuxbox/config/extentions.txt~{=if-file-exists:/var/httpd/extentions.txt~/var/httpd/extentions.txt~/share/tuxbox/neutrino/httpd-y/extentions.txt=}=}=}
{=var-set:extension={=if-file-exists:/var/tuxbox/config/extentions.txt~/var/tuxbox/config/extentions.txt~{=if-file-exists:/var/httpd/extentions.txt~/var/httpd/extentions.txt~/share/tuxbox/neutrino/httpd/extentions.txt=}=}=}
{=var-set:management={=if-equal:{=func:get_request_data client_addr=}~{=ini-get:/var/tuxbox/config/Y-Web.conf;management_ip;{=func:get_request_data client_addr=}=}~1~=}{=if-equal:{=func:get_request_data client_addr=}~{=ini-get:/var/tuxbox/config/Y-Web.conf;management_ip2=}~1~=}=}
{=include-block:Y_Blocks.txt;head=}
<script type="text/javascript" src="/prototype.js"></script>

View File

@@ -23,7 +23,7 @@ function do_submit(){
<table border="0" class="y_form_table" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
<td><textarea name="extentions" id="ext" cols="90" rows="30" title="extention list" style="background : white; font : 'Courier New',medium monospace; color : #436976;">{=if-file-exists:/var/tuxbox/config/extentions.txt~{=include:/var/tuxbox/config/extentions.txt=}~{=if-file-exists:/var/httpd/extentions.txt~{=include:/var/httpd/extentions.txt=}~{=include:/share/tuxbox/neutrino/httpd-y/extentions.txt=}=}=}</textarea></td>
<td><textarea name="extentions" id="ext" cols="90" rows="30" title="extention list" style="background : white; font : 'Courier New',medium monospace; color : #436976;">{=if-file-exists:/var/tuxbox/config/extentions.txt~{=include:/var/tuxbox/config/extentions.txt=}~{=if-file-exists:/var/httpd/extentions.txt~{=include:/var/httpd/extentions.txt=}~{=include:/share/tuxbox/neutrino/httpd/extentions.txt=}=}=}</textarea></td>
</tr>
</table>
<br/>

View File

@@ -1,4 +1,4 @@
version=2.8.0.36
date=28.06.2013
version=2.8.0.37
date=05.07.2013
type=Release
info=Port CST