summaryrefslogtreecommitdiffstats
path: root/paste/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'paste/config.php')
-rw-r--r--paste/config.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/paste/config.php b/paste/config.php
index 727952c..bfc92f3 100644
--- a/paste/config.php
+++ b/paste/config.php
@@ -35,6 +35,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
require_once('include/storage/MysqlStorage.php');
require_once('include/storage/FileStorage.php');
+require_once('include/generator/Sha1Generator.php');
+require_once('include/generator/ShortGenerator.php');
$config = array(
// This is the domain where this pastebin is running
@@ -55,6 +57,11 @@ $config = array(
'storage' => NULL,
// 'storage' => new MysqlStorage($host, $user, $password, $database, $table),
// 'storage' => new FileStorage('results/'),
+
+ // IdGeneratorEngine to generate ids
+ 'id_generator' => NULL,
+// 'id_generator' => new Sha1Generator(),
+// 'id_generator' => new ShortGenerator(),
);
?>