File: stop_manager.php

package info (click to toggle)
kalkun 0.8.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,340 kB
  • sloc: php: 30,659; javascript: 30,443; sql: 961; sh: 766; xml: 105; makefile: 41
file content (30 lines) | stat: -rw-r--r-- 1,193 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

// phpcs:disable CodeIgniter.Commenting.InlineComment.WrongStyle
/*
|--------------------------------------------------------------------------
| CONFIGURATION
|--------------------------------------------------------------------------
|
*/
// phpcs:enable
	//$config['optout_keywords'] = array('STOP', 'STOPALL', 'UNSUBSCRIBE', 'END', 'QUIT', 'CANCEL');
	$config['optout_keywords'] = array('STOP');
	//$config['optin_keywords'] = array('ACTIVER', 'START', 'YES', 'UNSTOP');
	$config['optin_keywords'] = array('ACTIVER');
	$config['type_keywords'] = array('rappel', 'annul');

	// Send autoreply to confirm action is saved
	$config['enable_autoreply_info'] = TRUE;
	// Send autoreply to tell command is invalid
	$config['enable_autoreply_error'] = FALSE;
	// Enable opt-in
	$config['enable_optin'] = TRUE;
	// Enable the use of "type" in optin/optout
	$config['enable_type'] = FALSE;

	$config['autoreply_language'] = 'english';
	$config['enable_autoreply_outnumber_filter'] = FALSE;
	// Send only if this is a french mobile phone number ( +336 et +337 )
	$config['autoreply_outnumber_match_rule'] = '/\+33[67][0-9]{8}/';