summaryrefslogtreecommitdiffstats
path: root/paste/config.php
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-02-19 03:13:39 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2010-02-19 03:13:39 +0100
commit9da67b6ea5fc86c809d2db693c3761bb0ac517c0 (patch)
tree011bec8a04f905deebee3fa55a5b7e76accf492f /paste/config.php
parentfbe5f3f3c31e0a0085952a5207038af01bca9e23 (diff)
downloadrafb-nopaste-9da67b6ea5fc86c809d2db693c3761bb0ac517c0.tar.gz
rafb-nopaste-9da67b6ea5fc86c809d2db693c3761bb0ac517c0.tar.xz
rafb-nopaste-9da67b6ea5fc86c809d2db693c3761bb0ac517c0.zip
added config examples for mysql and file storage
Diffstat (limited to 'paste/config.php')
-rw-r--r--paste/config.php5
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/'),
);
?>