GlisWeb framework
_skebby.php
Vai alla documentazione di questo file.
1 <?php
2 
14  // inclusione del framework
15  require '../../../_src/_config.php';
16 
17  // ordinamento degli array per la scrittura
18  rksort( $cf );
19  rksort( $ct );
20 
21  // output
22  $tx = NULL;
23  $r = NULL;
24 
25 /*
26  // invio mail di test (decommentare per l'invio)
27  $r = skebbySend(
28  'SMS di prova',
29  array( '+393294349095' ),
30  $cf['skebby']['server']['username'],
31  $cf['skebby']['server']['password'],
32  'GlisWeb'
33  );
34 
35  // esito
36  $tx .= 'esito invio SMS di test: ' . print_r( $r, true ) . PHP_EOL;
37 */
38 
39  // nascondo le password
40  array_walk_recursive( $cf['skebby'], function( &$v, $k ) { if( $k === 'password' || $k === 'private' ) { $v = '***'; } } );
41 
42  // array $cf
43  $tx .= print_r( $cf['skebby'], true ) . PHP_EOL;
44 
45  // output
46  build( $tx );
47 
48 ?>
if(isset( $cx['contatti'])) if(isset( $cf['site']['contatti'])) $ct['contatti']
Definition: _035.common.php:24
rksort(&$array)
$cf['ricerca']['template']
Definition: _030.common.php:7
$r
Definition: _skebby.php:23
$tx
Definition: _skebby.php:22
build( $content, $type=MIME_TEXT_PLAIN, $encoding=ENCODING_UTF8, $headers=array())