diff options
Diffstat (limited to 'paste')
-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/'), ); ?> |