diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-02-19 03:13:39 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-02-19 03:13:39 +0100 |
commit | 9da67b6ea5fc86c809d2db693c3761bb0ac517c0 (patch) | |
tree | 011bec8a04f905deebee3fa55a5b7e76accf492f | |
parent | fbe5f3f3c31e0a0085952a5207038af01bca9e23 (diff) | |
download | rafb-nopaste-9da67b6ea5fc86c809d2db693c3761bb0ac517c0.tar.gz rafb-nopaste-9da67b6ea5fc86c809d2db693c3761bb0ac517c0.tar.xz rafb-nopaste-9da67b6ea5fc86c809d2db693c3761bb0ac517c0.zip |
added config examples for mysql and file storage
-rw-r--r-- | paste/config.php | 5 |
1 files changed, 5 insertions, 0 deletions
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/'), ); ?> |