From 9da67b6ea5fc86c809d2db693c3761bb0ac517c0 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 19 Feb 2010 03:13:39 +0100 Subject: added config examples for mysql and file storage --- paste/config.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'paste') diff --git a/paste/config.php b/paste/config.php index 801e28b..3dee814 100644 --- a/paste/config.php +++ b/paste/config.php @@ -33,6 +33,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +require_once('include/storage/MysqlStorage.php'); +require_once('include/storage/FileStorage.php'); + $config = array( // This is the domain where this pastebin is running 'site_domain' => 'http://' . $_SERVER["SERVER_NAME"], @@ -50,6 +53,8 @@ $config = array( // StorageEngine to save pastes 'storage' => NULL, +// 'storage' => new MysqlStorage($host, $user, $password, $database, $table), +// 'storage' => new FileStorage('results/'), ); ?> -- cgit v1.2.3