From: ddnow Date: Wed, 18 May 2011 20:20:57 +0000 (-0700) Subject: Updated links to be generic X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=34b31674357f9779e9a39f0e6b83837e5400995b;p=mediabrowser.git Updated links to be generic --- diff --git a/File_Browser.php b/File_Browser.php index f9b7dac..062ea6f 100644 --- a/File_Browser.php +++ b/File_Browser.php @@ -37,7 +37,7 @@ class File_Browser { var $p = ''; -var $root = 'files/'; +var $root = './'; var $webroot = ''; var $files = array(); var $images = array(); diff --git a/index.php b/index.php index 774652a..403865e 100644 --- a/index.php +++ b/index.php @@ -2,14 +2,17 @@ include('File_Browser.php'); -$filebrowser = new File_Browser( array ('title' => 'media', 'webroot' => 'http://media.quilime.com/', ) ); +$filebrowser = new File_Browser( array ( + 'title' => 'title' +, 'webroot' => 'http://example.com/' +)); $filebrowser->parent_dir = true; ?> - + <?=$filebrowser->title;?>/<?=$filebrowser->p; ?>