[phpwebapp-commits] CVS: web_app/boxes/fileView fileView.php,1.3,1.4 fileView.html,1.2,1.3
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-20 07:32:09
|
Update of /cvsroot/phpwebapp/web_app/boxes/fileView In directory sc8-pr-cvs1:/tmp/cvs-serv7039/boxes/fileView Modified Files: fileView.php fileView.html Log Message: Index: fileView.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/fileView.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fileView.php 11 Aug 2003 16:17:52 -0000 1.3 --- fileView.php 20 Aug 2003 07:07:56 -0000 1.4 *************** *** 8,13 **** function init() { ! $curr_path = WebApp::getVar("./"); ! $this->addSVar("file", $curr_path."sample_file.html"); } --- 8,13 ---- function init() { ! $curr_path = dirname(__FILE__); ! $this->addSVar("file", $curr_path."/sample_file.html"); } Index: fileView.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/fileView.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** fileView.html 16 Jul 2003 09:27:59 -0000 1.2 --- fileView.html 20 Aug 2003 07:07:56 -0000 1.3 *************** *** 1,3 **** <WebBox ID="fileView"> ! <Include SRC="{{template}}"> </WebBox> --- 1,3 ---- <WebBox ID="fileView"> ! <Include SRC="{{template}}"> </WebBox> |