[phpwebapp-commits] CVS: web_app/boxes/fileView viewUnknown.php,1.1.1.1,1.2 viewImage.php,1.1.1.1,1.
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-07 16:25:25
|
Update of /cvsroot/phpwebapp/web_app/boxes/fileView In directory sc8-pr-cvs1:/tmp/cvs-serv8227/boxes/fileView Modified Files: viewUnknown.php viewImage.php Log Message: WebApp::to_url_path() renamed WebApp::to_url() Index: viewUnknown.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewUnknown.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** viewUnknown.php 21 Feb 2003 08:15:50 -0000 1.1.1.1 --- viewUnknown.php 7 Aug 2003 16:12:22 -0000 1.2 *************** *** 5,9 **** { $file_path = WebApp::getSVar("fileView->file"); ! $url_path = WebApp::to_url_path($file_path); WebApp::addVar("url", $url_path); WebApp::addVar("fileName", basename($file_path)); --- 5,9 ---- { $file_path = WebApp::getSVar("fileView->file"); ! $url_path = WebApp::to_url($file_path); WebApp::addVar("url", $url_path); WebApp::addVar("fileName", basename($file_path)); Index: viewImage.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewImage.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** viewImage.php 21 Feb 2003 08:15:50 -0000 1.1.1.1 --- viewImage.php 7 Aug 2003 16:12:22 -0000 1.2 *************** *** 5,9 **** { $file_path = WebApp::getSVar("fileView->file"); ! $img_url = WebApp::to_url_path($file_path); WebApp::addVar("image_src", $img_url); } --- 5,9 ---- { $file_path = WebApp::getSVar("fileView->file"); ! $img_url = WebApp::to_url($file_path); WebApp::addVar("image_src", $img_url); } |