parent
0f9ba19bef
commit
774b367460
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
const PROJECT_BASE_DIR = __DIR__ . '/'; |
||||
|
||||
require '/var/www/frames/tts_framework/src/bootstrap/site_helper.php'; |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\configure::set('http_request', array( |
||||
'use' => 'sockets', // curl or sockets |
||||
)); |
||||
|
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\configure::set('view_mode', array( |
||||
'default_paths' => array('json', 'common', 'flexbox', 'default') |
||||
)); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\configure::set('http_request', array( |
||||
'use' => 'sockets', // curl or sockets |
||||
)); |
||||
|
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\configure::set('view_mode', array( |
||||
'default_paths' => array('default', 'common') |
||||
)); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\configure::set('http_request', array( |
||||
'use' => 'sockets', // curl or sockets |
||||
)); |
||||
|
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\configure::set('view_mode', array( |
||||
'default_paths' => array('json', 'common', 'flexbox', 'default') |
||||
)); |
||||
@ -1,4 +1,6 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
require '/var/www/frames/tts_framework/src/main.inc.php'; |
||||
require '/var/www/frames/tts_framework/src/bootstrap/filter.php'; |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('html_filter', function() { |
||||
return new \tts\services\html_filter(); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('crypto', function($nonce) { |
||||
return new \tts\services\crypto($nonce); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('debugger', function($o) { |
||||
return \tts\services\debugger::error($o); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('emailer', function() { |
||||
return new \tts\services\emailer(); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('encryption', function() { |
||||
return new \tts\services\encryption(); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('html_filter', function() { |
||||
return new \tts\services\html_filter(); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('passwords', function() { |
||||
return new \tts\services\passwords(); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('twillio', function() { |
||||
return new \tts\services\twillio(); |
||||
}); |
||||
@ -1,5 +1,7 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
\tts\main\registry::get('di')->register('html_filter', function() { |
||||
return new \tts\services\html_filter(); |
||||
}); |
||||
Loading…
Reference in new issue