[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. e745d6a1b7e95536a2481e097bc6e1e02ffdfc94

jesse jesse at bestpractical.com
Mon Feb 16 18:38:17 EST 2009


The branch, master has been updated
       via  e745d6a1b7e95536a2481e097bc6e1e02ffdfc94 (commit)
      from  6e3ba3db4eb733097bdc72664dd257586937a088 (commit)

Summary of changes:
 lib/Prophet/Server.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit e745d6a1b7e95536a2481e097bc6e1e02ffdfc94
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Mon Feb 16 18:38:04 2009 -0500

    Make the optional File::ShareDir really optional

diff --git a/lib/Prophet/Server.pm b/lib/Prophet/Server.pm
index 26db57f..3bc2db7 100644
--- a/lib/Prophet/Server.pm
+++ b/lib/Prophet/Server.pm
@@ -10,7 +10,6 @@ use Prophet::Web::Menu;
 use Prophet::Web::Result;
 
 use Params::Validate qw/:all/;
-use File::ShareDir qw//;
 use File::Spec ();
 use Cwd ();
 use JSON;
@@ -39,6 +38,7 @@ sub run {
     };
 
     eval { require Template::Declare }  || return "Without Template::Declare installed, Prophet's Web UI won't work";
+    eval { require File::ShareDir }  || return "Without File::ShareDir installed, Prophet's Web UI won't work";
 
     if ($publisher) {
         $publisher->publish(

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list