Array and string offset access syntax with curly braces is deprecated fixes and composure updates.

This commit is contained in:
Mr. Timothy Glenn Webb Sr committed 2020-09-05 03:24:46 +00:00
1 parent 6d78dfbc65
commit bb243d17aa
345 files changed
+2314 -24734

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ return array (
'locale' => 'en_US',
'locale_date_format' => '%A, %d %B %G',
'locale_time_format' => ' %T',
'path_data' => '/var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-data/',
'path_data' => '/var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-data',
'path_logs' => '/var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-data/log/application.log',
'log_to_db' => 'true',
'db' =>
@@ -25,7 +25,7 @@ return array (
array (
'debug' => true,
'auto_reload' => true,
'cache' => '/var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-data/cache/',
'cache' => '/var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-data/cache',
),
'api' =>
array (
+11
View File
@@ -514,3 +514,14 @@
'ip' => '66.169.61.212',
)
2020-09-01 22:06:12 INFO (6): Client #7 logged in
2020-09-05 02:45:38 DEBUG (7): onBeforeClientLogin: array (
'email' => 'ross@k12usjobs.com',
'password' => 'Ff0o73%zFXtripgs',
'remember' => 'on',
'ip' => '66.169.61.212',
)
2020-09-05 02:45:38 DEBUG (7): onAfterClientLogin: array (
'id' => '5',
'ip' => '66.169.61.212',
)
2020-09-05 02:45:38 INFO (6): Client #5 logged in
+298
View File
@@ -928,3 +928,301 @@ Stack trace:
[04-Sep-2020 14:02:20 UTC] Class 'Pimple' not found
[04-Sep-2020 14:32:44 UTC] Class 'Pimple' not found
[04-Sep-2020 14:42:21 UTC] Class 'Pimple' not found
[04-Sep-2020 14:46:02 UTC] Class 'Pimple' not found
[04-Sep-2020 14:46:33 UTC] Class 'Pimple' not found
[04-Sep-2020 14:59:38 UTC] Class 'Pimple' not found
[04-Sep-2020 15:14:22 UTC] Class 'Pimple' not found
[04-Sep-2020 15:15:39 UTC] Class 'Pimple' not found
[05-Sep-2020 01:02:40 UTC] Class 'Pimple' not found
[05-Sep-2020 01:36:49 UTC] Class 'Pimple' not found
[05-Sep-2020 01:42:56 UTC] Class 'Pimple' not found
[05-Sep-2020 01:42:58 UTC] Class 'Pimple' not found
[05-Sep-2020 01:46:33 UTC] Class 'Pimple' not found
[05-Sep-2020 01:51:30 UTC] Class 'Pimple' not found
[05-Sep-2020 01:52:49 UTC] Class 'Box_Request' not found
[05-Sep-2020 01:57:59 UTC] Class 'Box_Request' not found
[05-Sep-2020 02:14:46 UTC] Class 'Box_Request' not found
[05-Sep-2020 02:27:11 UTC] Call to undefined method Box_Di::factory()
[05-Sep-2020 02:38:50 UTC] 8192 Function get_magic_quotes_gpc() is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-load.php 141
[05-Sep-2020 02:38:50 UTC] PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-load.php on line 141
[05-Sep-2020 02:38:50 UTC] Class 'Pimple\Container' not found
[05-Sep-2020 02:42:04 UTC] Class 'Pimple\Container' not found
[05-Sep-2020 02:42:46 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php 279
[05-Sep-2020 02:42:46 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php on line 279
[05-Sep-2020 02:42:47 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php 279
[05-Sep-2020 02:42:47 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php on line 279
[05-Sep-2020 02:42:47 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php 279
[05-Sep-2020 02:42:47 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php on line 279
[05-Sep-2020 02:42:48 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php 279
[05-Sep-2020 02:42:48 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php on line 279
[05-Sep-2020 02:42:48 UTC] Unable to find template "mod_page_bb-themes_huraga_assets_img_icons_apple-touch-icon-114-precomposed.png" (looked into: /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-themes/huraga/html, /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Page/html_client).
[05-Sep-2020 02:42:48 UTC] Box_Exception: Page not found in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/AppClient.php:77
Stack trace:
#0 /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/AppClient.php(56): Box_AppClient->render()
#1 [internal function]: Box_AppClient->get_custom_page()
#2 /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/App.php(220): ReflectionMethod->invokeArgs()
#3 /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/App.php(259): Box_App->execute()
#4 /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/App.php(143): Box_App->processRequest()
#5 /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/index.php(27): Box_App->run()
#6 {main}
[05-Sep-2020 02:42:48 UTC] Page /bb-themes/huraga/assets/img/icons/apple-touch-icon-114-precomposed.png not found
[05-Sep-2020 02:45:38 UTC]
[05-Sep-2020 02:45:38 UTC] 8 Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123
[05-Sep-2020 02:45:38 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php on line 123
[05-Sep-2020 02:45:38 UTC] 8 Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123
[05-Sep-2020 02:45:38 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php on line 123
[05-Sep-2020 02:45:38 UTC] 8 Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123
[05-Sep-2020 02:45:38 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php on line 123
[05-Sep-2020 02:45:38 UTC] 8 Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123
[05-Sep-2020 02:45:38 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php on line 123
[05-Sep-2020 02:45:38 UTC] 8 Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123
[05-Sep-2020 02:45:38 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php on line 123
[05-Sep-2020 02:45:38 UTC] 8 Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123
[05-Sep-2020 02:45:38 UTC] PHP Notice: Trying to access array offset on value of type null in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php on line 123
[05-Sep-2020 02:51:22 UTC] Bad log priority 0
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 209
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 209
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 211
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 211
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 505
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 505
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 505
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 505
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 512
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 512
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 546
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 546
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 546
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 546
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 561
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 561
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 562
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 562
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 661
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 661
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 671
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 671
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 671
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 671
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 680
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 680
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 681
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 681
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1068
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1068
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1463
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1463
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 02:52:52 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 02:52:52 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 209
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 209
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 211
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 211
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 505
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 505
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 505
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 505
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 512
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 512
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 546
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 546
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 546
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 546
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 561
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 561
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 562
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 562
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 661
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 661
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 671
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 671
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 671
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 671
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 680
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 680
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 681
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 681
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1068
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1068
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1463
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1463
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 02:59:49 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 02:59:49 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 506
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 506
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 506
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 506
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 513
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 513
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 547
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 547
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 547
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 547
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 562
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 562
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 563
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 563
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 662
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 662
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 672
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 672
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 672
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 672
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 681
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 681
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 682
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 682
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1069
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1069
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1464
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1464
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:00:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:00:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 506
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 506
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 506
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 506
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 513
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 513
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 547
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 547
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 547
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 547
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 562
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 562
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 563
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 563
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 662
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 662
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 672
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 672
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 672
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 672
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 681
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 681
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 682
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 682
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1069
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1069
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1464
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1464
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:02:34 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:02:34 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 564
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 564
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 565
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 565
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 664
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 664
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 674
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 674
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 674
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 674
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 683
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 683
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 684
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 684
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1071
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1071
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 1466
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1466
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:04:37 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:04:37 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 565
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 565
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 664
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 664
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php 686
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 686
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:09:36 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:09:36 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:11:44 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:11:44 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:11:44 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:11:44 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:11:44 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:11:44 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:11:44 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:11:44 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:11:44 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:11:44 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:13:08 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:13:08 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:13:08 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:13:08 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:13:08 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:13:08 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:13:08 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:13:08 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:13:08 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:13:08 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:14:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:14:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:14:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1349
[05-Sep-2020 03:14:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1349
[05-Sep-2020 03:14:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1374
[05-Sep-2020 03:14:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1374
[05-Sep-2020 03:14:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:14:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:14:25 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1787
[05-Sep-2020 03:14:25 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1787
[05-Sep-2020 03:17:05 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 948
[05-Sep-2020 03:17:05 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 948
[05-Sep-2020 03:17:05 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:17:05 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:17:41 UTC] 8192 Array and string offset access syntax with curly braces is deprecated /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php 1785
[05-Sep-2020 03:17:41 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-vendor/michelf/php-markdown/Michelf/Markdown.php on line 1785
[05-Sep-2020 03:19:01 UTC] syntax error, unexpected 'case' (T_CASE)
[05-Sep-2020 03:22:08 UTC] Check your login details 403
[05-Sep-2020 03:22:15 UTC] Check your login details 403
[05-Sep-2020 03:22:29 UTC] Check your login details 403
[05-Sep-2020 03:22:48 UTC] Check your login details 403
[05-Sep-2020 03:23:05 UTC] Check your login details 403
+1 -1
View File
@@ -14,4 +14,4 @@
/**
* Class Box_Config
*/
class Box_Config extends Pimple {}
class Box_Config extends Pimple\Container {}
+1 -1
View File
@@ -11,4 +11,4 @@
*/
class Box_Di extends Pimple {}
class Box_Di extends Pimple\Container {}
+5 -4
View File
@@ -41,8 +41,8 @@ class Box_Log
self::INFO => 'INFO',
self::DEBUG => 'DEBUG',
);
protected $_min_priority = NULL;
/**Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123**/
protected $_min_priority = 'NULL';
protected $_writers = array();
@@ -120,7 +120,8 @@ class Box_Log
}
//do not log debug level messages if debug is OFF
if($this->di['config']['debug'] === FALSE && $event['priority'] > self::INFO) {
/**Trying to access array offset on value of type null /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-library/Box/Log.php 123**/
if($this->di('config')('debug') === FALSE && $event('priority') > self::INFO) {
return ;
}
@@ -162,4 +163,4 @@ class Box_Log
$this->_min_priority = $priority;
return $this;
}
}
}
+8 -4
View File
@@ -97,6 +97,10 @@ class Box_TwigExtensions extends Twig\Extension\AbstractExtension implements \Bo
function twig_ipcountryname_filter($value)
{
if (empty($value)) {
return '';
}
try {
$record = $this->di['geoip']->country($value);
return $record->country->name;
@@ -255,7 +259,7 @@ function twig_size_filter($value)
return round($bytes, $precision) . ' ' . $units[$pow];
}
function twig_markdown_filter(Twig_Environment $env, $value)
function twig_markdown_filter(Twig\Environment $env, $value)
{
$markdownParser = new \Michelf\MarkdownExtra;
// Michelf Markdown version 1.7.0 and up
@@ -263,7 +267,7 @@ function twig_markdown_filter(Twig_Environment $env, $value)
return $markdownParser->transform($value); //htmlspecialchars($value, ENT_NOQUOTES)
}
function twig_truncate_filter(Twig_Environment $env, $value, $length = 30, $preserve = false, $separator = '...')
function twig_truncate_filter(Twig\Environment $env, $value, $length = 30, $preserve = false, $separator = '...')
{
mb_internal_encoding("UTF-8");
if (mb_strlen($value) > $length) {
@@ -282,8 +286,8 @@ function twig_truncate_filter(Twig_Environment $env, $value, $length = 30, $pres
/**
* BoxBilling markdown
*/
function twig_bbmd_filter(Twig_Environment $env, $value)
function twig_bbmd_filter(Twig\Environment $env, $value)
{
$value = twig_markdown_filter($env, $value);
return $value;
}
}
+105 -18
View File
@@ -10,7 +10,6 @@
* with this source code in the file LICENSE
*/
class Model_ProductDomainTable extends Model_ProductTable
{
public function getUnit(Model_Product $model)
@@ -33,20 +32,37 @@ class Model_ProductDomainTable extends Model_ProductTable
return false;
}
public function getRelatedDiscount(array $items, Model_Product $product, array $config)
/**
* Determine discount for items in cart (Hosting and related domain discount)
* @param array $items Array of cart products
* @param CartProduct $product current product in iteration
* @param array $config configurations specified in product config
* @return number discount
*
*/
public function getRelatedDiscount(array $items, $product, array $config)
{
foreach($items as $item) {
/**For each cart product,
* Compare it with other items in the cart
* If a domain has related hosting package, determine discount configured.
*/
foreach($items as $addon) {
if($this->isActionNameSet($item, 'register') &&
$this->isFreeDomainSet($item) &&
$this->registerDomainMatch($item, $config) )
{
return $this->getProductPrice($product, $config);
if($this->isActionNameSet($addon, 'register') &&
$this->_isFreeDomainSet($addon) &&
$this->registerDomainMatch($addon, $config)) {
if($this->_hasFreePeriod($addon)){
$factor = $this->discountFactor($addon, $config["period"]);
return $factor * $this->getProductPrice($product, $config);
} else {
return 0;
}
}
if($this->isActionNameSet($item, 'transfer') &&
$this->isFreeTransferSet($item) &&
$this->transferDomainMatch($item, $config) ) {
if($this->isActionNameSet($addon, 'transfer') &&
$this->isFreeTransferSet($addon) &&
$this->transferDomainMatch($addon, $config) ) {
return $this->getProductPrice($product, $config);
}
}
@@ -54,6 +70,70 @@ class Model_ProductDomainTable extends Model_ProductTable
return 0;
}
private function _hasFreePeriod($addon)
{
$free_domain_periods = $addon['config']['free_domain_periods'];
$addon_period = $addon['config']['period'];
if (in_array($addon_period, $free_domain_periods) || sizeof($free_domain_periods) > 0) {
return true;
} else {
return false;
}
}
/**
* Determine the number of years configured for free domain
*
*/
private function discountFactor($addon, $period)
{
$ref_item_period = $this->di['period']($period);
$ref_item_qty = $ref_item_period->getQty();
$addon_period = $addon['config']['period'];
$addon_sys_period = $this->di['period']($addon_period);
$addon_qty = $addon_sys_period->getQty();
$free_domain_periods = $addon['config']['free_domain_periods'];
if (count($free_domain_periods) > 0) {
// if hosting and domain periods are equal, return domain quantity (year)
if ($addon_period == $period) {
if( in_array($addon_period, $free_domain_periods) ){
return $ref_item_qty;
}
}
if (strpos($addon_period, 'Y') !== false) {
if (min($ref_item_qty, $addon_qty) == 1) {
return 1;
}
$free_domain_qtys = [];
foreach($free_domain_periods as $fp){
$prd = $this->di['period']($fp);
$qnty = $prd->getQty();
if ($ref_item_qty - $qnty > 0) {
$free_domain_qtys[] = $qnty;
}
}
if(count($free_domain_qtys) > 1){
return min($ref_item_qty, min($free_domain_qtys));
} else {
return min($ref_item_qty, $free_domain_qtys[0]);
}
}
} else {
return 0;
}
}
/**
* @param string $actionName
*/
@@ -62,11 +142,18 @@ class Model_ProductDomainTable extends Model_ProductTable
return isset($item['config']['domain']['action']) && $item['config']['domain']['action'] == $actionName;
}
private function isFreeDomainSet($item)
private function _isFreeDomainSet($item)
{
if(isset($item['config']['free_domain']) && $item['config']['free_domain'] && isset($item['config']['free_domain_periods']) && in_array($item['config']['period'],$item['config']['free_domain_periods']) && isset($item['config']['free_tlds']) && in_array($item['config']['tld'],$item['config']['free_tlds']))
{ return true;}
else{ return false;}
$free_domain = $this->di['array_get']($item['config'],'free_domain',false);
$tld = $this->di['array_get']($item['config'], 'tld', null);
$free_tlds = $this->di['array_get']($item['config'], 'free_tlds', array());
if($tld != null && !!$free_domain && is_array($free_tlds) && in_array($tld, $free_tlds)) {
return true;
} else {
return false;
}
}
private function registerDomainMatch($item, $config)
@@ -117,7 +204,7 @@ class Model_ProductDomainTable extends Model_ProductTable
'registrar' => array(
'id' => $tld['tld_registrar_id'],
'title' => $tld['name'],
)
),
);
}
@@ -170,4 +257,4 @@ class Model_ProductDomainTable extends Model_ProductTable
{
throw new \Box_Exception('Domain product can not be removed.');
}
}
}
+1 -1
View File
@@ -66,7 +66,7 @@ class Payment_Adapter_Custom
$invoice = $invoiceService->toApiArray($invoiceModel, true);
$vars = array(
'client' => $invoice['buyer'],
'_client_id' => $invoice['client']['id'],
'invoice' => $invoice,
'_tpl' => ($subscription) ? $this->config['recurrent'] : $this->config['single'],
);
+1 -1
View File
@@ -124,6 +124,6 @@ class Payment_Invoice_Item
public function getTotalWithTax()
{
return $this->getTotal() + $this->getQuantity() * $this->getTax();
return $this->getTotal() + $this->getTax();
}
}
+7 -4
View File
@@ -18,7 +18,7 @@ define('BB_PATH_THEMES', BB_PATH_ROOT . '/bb-themes');
define('BB_PATH_MODS', BB_PATH_ROOT . '/bb-modules');
define('BB_PATH_LANGS', BB_PATH_ROOT . '/bb-locale');
define('BB_PATH_UPLOADS', BB_PATH_ROOT . '/bb-uploads');
define('BB_PATH_DATA', BB_PATH_ROOT . '/bb-data');
define('BB_PATH_DATA', BB_PATH_ROOT . '/bb-data');
function handler_error($number, $message, $file, $line)
{
@@ -138,8 +138,11 @@ ini_set('html_errors', FALSE);
ini_set('error_log', BB_PATH_LOG . '/php_error.log');
// Strip magic quotes from request data.
/**Deprecated:Function get_magic_quotes_gpc()) is deprecated in php7.4.9**/
//if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()){
/**
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-load.php on line 141
**/
//if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
{
// Create lamba style unescaping function (for portability)
$quotes_sybase = strtolower(ini_get('magic_quotes_sybase'));
@@ -167,4 +170,4 @@ ini_set('error_log', BB_PATH_LOG . '/php_error.log');
$stripslashes_deep($_GET, $stripslashes_deep);
$stripslashes_deep($_COOKIE, $stripslashes_deep);
$stripslashes_deep($_REQUEST, $stripslashes_deep);
}
+22 -9
View File
@@ -323,7 +323,7 @@ class Service implements InjectionAwareInterface
$items_discount = 0;
foreach ($products as $product) {
$p = $this->cartProductToApiArray($product);
$total += $p['total'];
$total += $p['total'] + $p['setup_price'];
$items_discount += $p['discount'];
$items[] = $p;
}
@@ -339,7 +339,8 @@ class Service implements InjectionAwareInterface
$result = array(
'promocode' => $promocode,
'discount' => $items_discount,
'total' => $total,
'subtotal' => $total,
'total' => $total - $items_discount,
'items' => $items,
'currency' => $currencyService->toApiArray($currency),
);
@@ -545,7 +546,7 @@ class Service implements InjectionAwareInterface
$invoice_items[] = array(
'title' => $order->title,
'price' => $order->price - ($order->discount),
'price' => $order->price,
'quantity' => $order->quantity,
'unit' => $order->unit,
'period' => $order->period,
@@ -555,6 +556,17 @@ class Service implements InjectionAwareInterface
'task' => \Model_InvoiceItem::TASK_ACTIVATE,
);
if($order->discount > 0){
$invoice_items[] = array(
'title' => __('Discount: :product', array(':product' => $order->title)),
'price' => $order->discount * -1,
'quantity' => 1,
'unit' => 'discount',
'rel_id' => $order->id,
'taxed' => $taxed,
);
}
if ($item['setup_price'] > 0) {
$setup_price = ($item['setup_price'] * $currency->conversion_rate) - ($item['discount_setup'] * $currency->conversion_rate);
$invoice_items[] = array(
@@ -662,7 +674,7 @@ class Service implements InjectionAwareInterface
*
* @param \Model_Cart $cart
* @param \Model_CartProduct $model
* @return type
* @return number
*/
protected function getRelatedItemsDiscount(\Model_Cart $cart, \Model_CartProduct $model)
{
@@ -722,8 +734,8 @@ class Service implements InjectionAwareInterface
$discount_total = $discount_price + $discount_setup;
$subtotal = ($price * $qty) + $setup;
if(abs($discount_total) > $subtotal ) {
$subtotal = ($price * $qty);
if(abs($discount_total) > ($subtotal + $setup) ) {
$discount_total = $subtotal;
$discount_price = $subtotal;
}
@@ -741,7 +753,7 @@ class Service implements InjectionAwareInterface
'discount' => $discount_total,
'discount_price'=> $discount_price,
'discount_setup'=> $discount_setup,
'total' => $subtotal - $discount_total,
'total' => $subtotal,
));
return $data;
}
@@ -753,7 +765,8 @@ class Service implements InjectionAwareInterface
$discount_setup = 0; // discount for setup price
if($cart->promo_id) {
$promo = $this->di['db']->getExistingModelById('Promo', $cart->promo_id, 'Promo not found');
$discount_price += $this->getItemPromoDiscount($cartProduct, $promo);
//Promo discount should override related item discount
$discount_price = $this->getItemPromoDiscount($cartProduct, $promo);
if($promo->freesetup) {
$discount_setup = $setup;
@@ -761,4 +774,4 @@ class Service implements InjectionAwareInterface
}
return array($discount_price, $discount_setup);
}
}
}
+11 -3
View File
@@ -313,7 +313,18 @@ class Service implements \Box\InjectionAwareInterface
}
try {
$mod = $this->di['mod']('email');
$settings = $mod->getConfig();
if (isset($settings['log_enabled']) && $settings['log_enabled']) {
$activityService = $this->di['mod_service']('activity');
$activityService->logEmail($email->subject, $email->client_id, $email->sender, $email->recipients, $email->content_html, $email->content_text);
}
$mail->send($transport, $settings);
} catch (\Exception $e) {
error_log($e->getMessage());
}
@@ -323,9 +334,6 @@ class Service implements \Box\InjectionAwareInterface
return true;
}
public function templateGetSearchQuery($data)
{
$query = "SELECT * FROM email_template";
@@ -25,7 +25,7 @@
<td style="width: 15%"><label>{% trans 'Forum' %}</label></td>
<td><a href="{{ 'forum'|alink({'forum_id' : topic.forum.id }) }}">{{ topic.forum.title }}</a></td>
</tr>
<tr>
<td><label>{% trans 'Title' %}</label></td>
<td>{{ topic.title }}</td>
@@ -47,7 +47,7 @@
<td><label>{% trans 'Status' %}</label></td>
<td>{{ mf.status_name(topic.status) }}</td>
</tr>
<tr>
<td><label>{% trans 'Sticky' %}</label></td>
<td>{{ mf.q(topic.sticky) }}</td>
@@ -131,9 +131,9 @@
<input type="hidden" name="id" value="{{ topic.id }}" />
</fieldset>
</form>
</div>
</div>
</div>
@@ -182,7 +182,7 @@
<fieldset>
<textarea name="message" cols="5" rows="20" required="required" id="quote-area-{{message.id}}" class="bb-textarea">
{{ profile.signature }}
{{ profile.signature }}
{{ mf.markdown_quote(message.message) }}</textarea>
<input type="hidden" name="forum_topic_id" value="{{ topic.id }}">
<input type="submit" value="{% trans 'Post' %}" class="greyishBtn submitForm" />
@@ -200,7 +200,7 @@
<tr>
<td><label>{% trans 'IP' %}</label></td>
<td>{{ message.ip|default('-') }} {{ message.ip|ipcountryname }}</td>
<td>{{ message.ip|default('-') }} {{ message.ip|ipcountryname|default('Unknown') }}</td>
</tr>
<tr>
@@ -235,4 +235,4 @@
{% endblock %}
{% block head %}{{ mf.bb_editor('.bb-textarea') }}{% endblock %}
{% block head %}{{ mf.bb_editor('.bb-textarea') }}{% endblock %}
+13 -18
View File
@@ -10,8 +10,8 @@
* with this source code in the file LICENSE
*/
namespace Box\Mod\Invoice;
use Box\InjectionAwareInterface;
class Service implements InjectionAwareInterface
@@ -139,13 +139,15 @@ class Service implements InjectionAwareInterface
$row = $this->di['db']->toArray($invoice);
$items = $this->di['db']->find('InvoiceItem', 'invoice_id = :iid', array('iid'=>$row['id']));
$lines = array();
$total = $tax_total = 0;
$invoiceItemService = $this->di['mod_service']('Invoice', 'InvoiceItem');
foreach($items as $item) {
$order_id = ($item->type == \Model_InvoiceItem::TYPE_ORDER) ? $item->rel_id : null;
$line_total = $item->price * $item->quantity;
$total += $line_total;
$line_total = $item->price * $item->quantity;
$total += $line_total;
$line_tax = $invoiceItemService->getTax($item) * $item->quantity;
$tax_total += $line_tax;
$line = array(
@@ -158,7 +160,7 @@ class Service implements InjectionAwareInterface
'tax' => $line_tax,
'taxed' => $item->taxed,
'charged' => $item->charged,
'total' => $item->price * $item->quantity,
'total' => $line_total,
'order_id' => $order_id,
'type' => $item->type,
'rel_id' => $item->rel_id,
@@ -224,7 +226,10 @@ class Service implements InjectionAwareInterface
'account_number' => !empty($c['account_number']) ? $c['account_number'] : null,
);
if($identity instanceof \Model_Admin){
/**
* Removed if($identity instanceof \Model_Admin) {}
* Generates error when this function is called by cron
*/
$client = $this->di['db']->load('Client', $row['client_id']);
$clientService = $this->di['mod_service']('client');
if($client instanceof \Model_Client) {
@@ -237,7 +242,6 @@ class Service implements InjectionAwareInterface
$result['income'] = $row['base_income'] - $row['base_refund'];
$result['refund'] = $row['refund'];
$result['credit'] = $row['credit'];
}
$subscriptionService = $this->di['mod_service']('Invoice', 'Subscription');
$result['subscribable'] = $subscriptionService->isSubscribable($row['id']);
@@ -452,7 +456,7 @@ class Service implements InjectionAwareInterface
$model->text_2 = $this->di['array_get']($data, 'text_2', $model->text_2);
$model->created_at = date('Y-m-d H:i:s');
$model->updated_at = date('Y-m-d H:i:s');
$invoiceId = $this->di['db']->store($model);;
$invoiceId = $this->di['db']->store($model);
$this->setInvoiceDefaults($model);
@@ -705,7 +709,7 @@ class Service implements InjectionAwareInterface
//@deprecated
case 'same_invoice':
$amount = $this->getTotalWithTax($invoice);
$invoice->refund = empty($amount) ? NULL : $amount;
$invoice->refund = empty($amount) ? null : $amount;
$invoice->updated_at = date('Y-m-d H:i:s');
$this->di['db']->store($invoice);
@@ -934,15 +938,6 @@ class Service implements InjectionAwareInterface
$this->setInvoiceDefaults($proforma);
$price = $order->price;
// apply discount for new invoice if promo code is recurrent
if($order->promo_recurring) {
$price = $order->price - $order->discount;
if($price < 0) {
$price = 0;
}
$order->promo_used +=1;
$this->di['db']->store($order);
}
$invoiceItemService = $this->di['mod_service']('Invoice', "InvoiceItem");
$invoiceItemService->generateFromOrder($proforma, $order, \Model_InvoiceItem::TASK_RENEW, $price);
@@ -1028,7 +1023,7 @@ class Service implements InjectionAwareInterface
$this->di['events_manager']->fire(array('event'=>'onEventBeforeInvoiceIsDue', 'params'=>$params));
}
$after_due_list = $this->di['db']->getAll("SELECT id, ABS(DATEDIFF(due_at, NOW())) as days_passed FROM invoice WHERE status = 'unpaid' AND approved = 1 AND due_at < NOW()");
$after_due_list = $this->di['db']->getAll("SELECT id, ABS(DATEDIFF(due_at, NOW())) as days_passed FROM invoice WHERE status = 'unpaid' AND approved = 1 AND ((due_at < NOW()) OR (ABS(DATEDIFF(due_at, NOW())) = 0 ))");
foreach($after_due_list as $params) {
$this->di['events_manager']->fire(array('event'=>'onEventAfterInvoiceIsDue', 'params'=>$params));
}
+50
View File
@@ -197,6 +197,13 @@ class ServiceInvoiceItem implements InjectionAwareInterface
{
$item->title = $this->di['array_get']($data, 'title', $item->title);
$item->price = $this->di['array_get']($data, 'price', $item->price);
$item_quantity = $this->di['array_get']($data, 'quantity', 1);
if($item_quantity != $item->quantity){
$item->quantity = $item_quantity > 0 ? $item_quantity : 1 ;
}
if(isset($data['taxed']) && !empty($data['taxed'])) {
$item->taxed = (bool)$data['taxed'];
} else {
@@ -305,6 +312,49 @@ class ServiceInvoiceItem implements InjectionAwareInterface
$this->di['db']->store($pi);
$corderService->setUnpaidInvoice($order, $proforma);
// apply discount for new invoice if promo code is recurrent
if($order->promo_recurring) {
$order_total = $order->price * $order->quantity;
$promo_discount = $order->discount;
if($promo_discount > $order_total) {
$promo_discount = $order_total;
}
$discount_title = $this->_getTitleForPromoDiscount($order->promo_id, $order->currency);
$pd = [
'title' => $discount_title,
'price' => $promo_discount * -1,
'quantity' => 1,
'unit' => 'discount',
'rel_id' => $order->id,
'taxed' => $taxed,
];
$this->addNew($proforma, $pd);
$order->promo_used +=1;
$this->di['db']->store($order);
}
}
private function _getTitleForPromoDiscount($promo_id, $currency)
{
$promo = $this->di['db']->findOne('Promo', 'id = ?', [$promo_id]);
$api_guest = $this->di['api_guest'];
switch ($promo->type) {
case \Model_Promo::ABSOLUTE:
$currencyAmount = $api_guest->currency_format(['code' => $currency, 'price' => $promo->value]);
return __('Promotional Code: :code - :value Discount', [':code' => $promo->code, ':value' => $currencyAmount]);
case \Model_Promo::PERCENTAGE:
return __('Promotional Code: :code - :value%', [':code' => $promo->code, ':value' => $promo->value]);
default:
break;
}
}
/**
@@ -1,5 +1,5 @@
{% extends request.ajax ? "layout_blank.phtml" : "layout_default.phtml" %}
{% import "macro_functions.phtml" as mf %}
{% block meta_title %}{% trans 'Processing payment ...' %}{% endblock %}
{% block content %}
@@ -7,7 +7,7 @@
{% block breadcrumb %}
<li><a href="{{ '/invoice'|link }}">{% trans 'Invoices' %}</a> <span class="divider">/</span></li>
<li class="active">{% trans 'Invoice' %} {{nr}}</li>
<li class="active"> {% if invoice.status == 'paid' %} {% trans 'Receipt' %} {% else %} {% trans 'Invoice' %} {% endif %}{{nr}}</li>
{% endblock %}
{% block content %}
@@ -47,7 +47,7 @@
<div class="data-container">
<header>
<h1>{% trans 'Invoice' %} {{nr}}</h1><br/>
<h1> {% if invoice.status == 'paid' %} {% trans 'Receipt' %} {% else %} {% trans 'Invoice' %} {% endif %} - {{nr}}</h1><br/>
{% trans 'You can print this invoice or export it to PDF file by clicking on corresponding button.' %}
<ul class="data-header-actions">
<li><a href="{{ 'invoice/pdf' | link }}/{{invoice.hash}}" class="btn btn-alt btn-inverse">{% trans 'PDF' %}</a></li>
@@ -193,14 +193,15 @@
{% if item.order_id%}
<a href="{{ '/order/service'|link }}/manage/{{item.order_id}}">{{ item.title }}</a>
{% else %}
{{ item.title }}
{{ item.title }}
{% endif %}
{% if item.quantity > 1 %}
x {{ item.quantity }} {{ item.unit }}
{% endif %}
</td>
<td>
{{ item.price | money(invoice.currency) }}
{% if item.quantity > 1 %}
x {{ item.quantity }} {# item.unit #}
{% endif %}
</td>
<td >{{ item.total | money(invoice.currency) }}</td>
</tr>
@@ -1,4 +1,5 @@
{% extends "layout_default.phtml" %}
{% import "macro_functions.phtml" as mf %}
{% set active_menu = 'kb' %}
{% block meta_title %}{{ post.title}}{% endblock %}
+3 -3
View File
@@ -1062,15 +1062,15 @@ class Service implements InjectionAwareInterface
public function rmInvoiceItemByOrder(\Model_ClientOrder $order)
{
$bindings = array(
':type' => 'order',
':rel_id' => $order->id,
':status' => \Model_InvoiceItem::STATUS_PENDING_PAYMENT
);
$item = $this->di['db']->findOne('InvoiceItem', 'type = :type AND rel_id = :rel_id AND status = :status', $bindings);
$items = $this->di['db']->find('InvoiceItem', 'rel_id = :rel_id AND status = :status', $bindings);
foreach($items as $item){
if ($item instanceof \Model_InvoiceItem) {
$this->di['db']->trash($item);
}
}
}
@@ -4,9 +4,6 @@
<a class="accordion-toggle" href="#checkout" data-parent="#accordion1" data-toggle="collapse"><span class="awe-shopping-cart"></span> {% trans 'Cart' %} <span class="label label-warning pull-right">{{ cart.items | length }}</span></a>
</div>
{% if cart.items %}
{% set cart = cart|merge({'total':0})%}
{% set temp_total_discount =0 %}
{% set temp_cart_total =0 %}
<div id="checkout" class="accordion-body collapse {% if request.checkout and client %}in{%endif%}">
<div class="accordion-inner" id="checkout-inner">
@@ -20,7 +17,6 @@
</thead>
<tbody>
{% for i, item in cart.items %}
{% set temp_cart_total = temp_cart_total + (item.price*item.quantity) %}
<tr>
<td>
{{ item.title }}
@@ -34,16 +30,12 @@
</td>
<td>
{% if item.discount_price %}
{% set temp_discount = (item.price * item.quantity ) %}
{% set temp_total_discount = temp_total_discount + temp_discount %}
{% set item = item|merge({'discount_price': temp_discount}) %}
{% set cart =cart|merge({'discount':temp_discount}) %}
<del>{{ (item.price * item.quantity) | money_convert }}</del>
<strong class="text-success">{{ (item.price * item.quantity - item.discount_price) | money_convert }}</strong>
<del>{{ item.total | money_convert }}</del>
<strong class="text-success">{{ (item.total-item.discount_price) | money_convert }}</strong>
{% else %}
{{ (item.price * item.quantity) | money_convert }}
{{ (item.total) | money_convert }}
{% endif %}
</td>
<td><button data-cart-item-id="{{ item.id }}" class="btn btn-inverse btn-mini remove-cart-item" title="{% trans 'Remove item' %}"><strong><i class="awe-remove"></i></strong></button></td>
@@ -108,9 +100,6 @@
</tr>
{% endif %}
{% set cart= cart|merge({'total':temp_cart_total})%}
{% set cart= cart|merge({'discount':temp_total_discount})%}
{% endfor %}
</tbody>
</table>
@@ -151,7 +140,7 @@
{% if cart.discount >0 %}
<tr>
<td><strong>{% trans 'Subtotal:' %}</strong></td>
<td><strong>{{ (cart.total)| money_convert }}</strong></td>
<td><strong>{{ (cart.subtotal)| money_convert }}</strong></td>
</tr>
<tr>
<td><strong>{% trans 'Discount:' %}</strong></td>
@@ -170,7 +159,6 @@
{% endif %}
<tr>
<td><strong>{% trans 'Total:' %}</strong></td>
{% set cart= cart|merge({'total':temp_cart_total - temp_total_discount})%}
<td><strong>{{ (cart.total + tax_amount) | money_convert }}</strong></td>
</tr>
+11 -4
View File
@@ -345,12 +345,13 @@ class Service implements InjectionAwareInterface
public function updateConfig(\Model_Product $model, $data)
{
/* add new config value */
$config = json_decode($model->config, 1);
$config = json_decode($model->config, true);
if (isset($data['config']) && is_array($data['config'])) {
$config = array_intersect_key((array)$config, $data['config']);
foreach ($data['config'] as $key => $val) {
$config[$key] = $val;
if (isset($config[$key]) && empty ($val)) {
if (isset($config[$key]) && empty($val) && !is_numeric($val)) {
unset ($config[$key]);
}
}
@@ -961,6 +962,7 @@ class Service implements InjectionAwareInterface
}
$discount = 0;
$quantity = 1;
switch ($promo->type) {
case \Model_Promo::ABSOLUTE:
@@ -968,7 +970,12 @@ class Service implements InjectionAwareInterface
break;
case \Model_Promo::PERCENTAGE:
$discount += round(($price * $promo->value / 100), 2);
if(isset($config['quantity']) && is_numeric($config['quantity'])){
$quantity = $config['quantity'];
}
$discount += round(($price * $quantity * $promo->value / 100), 2);
break;
default:
@@ -1062,4 +1069,4 @@ class Service implements InjectionAwareInterface
);
}
}
}
+2 -2
View File
@@ -94,7 +94,7 @@ class Guest extends \Api_Abstract
);
$this->di['validator']->checkRequiredParamsForArray($required, $data);
$sld = $data['sld'];
$sld = htmlspecialchars($data['sld'], ENT_QUOTES | ENT_HTML5, 'UTF-8');
$validator = $this->di['validator'];
if (!$validator->isSldValid($sld)) {
throw new \Box_Exception('Domain :domain is not valid', array(':domain' => $sld));
@@ -139,4 +139,4 @@ class Guest extends \Api_Abstract
return TRUE;
}
}
}
+9 -5
View File
@@ -69,7 +69,8 @@ class Service implements \Box\InjectionAwareInterface
}
if (!$validator->isSldValid($data['owndomain_sld'])) {
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $data['owndomain_sld']));
$safe_dom = htmlspecialchars($data['owndomain_sld'], ENT_QUOTES | ENT_HTML5, 'UTF-8');
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $safe_dom));
}
$required = array(
@@ -85,7 +86,8 @@ class Service implements \Box\InjectionAwareInterface
}
if (!$validator->isSldValid($data['transfer_sld'])) {
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $data['transfer_sld']));
$safe_dom = htmlspecialchars($data['transfer_sld'], ENT_QUOTES | ENT_HTML5, 'UTF-8');
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $safe_dom));
}
$required = array(
@@ -115,7 +117,8 @@ class Service implements \Box\InjectionAwareInterface
}
if (!$validator->isSldValid($data['register_sld'])) {
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $data['register_sld']));
$safe_dom = htmlspecialchars($data['register_sld'], ENT_QUOTES | ENT_HTML5, 'UTF-8');
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $safe_dom));
}
$required = array(
@@ -559,7 +562,8 @@ class Service implements \Box\InjectionAwareInterface
$validator = $this->di['validator'];
if (!$validator->isSldValid($sld)) {
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $sld));
$safe_dom = htmlspecialchars($sld, ENT_QUOTES | ENT_HTML5, 'UTF-8');
throw new \Box_Exception('Domain name :domain is not valid', array(':domain' => $safe_dom));
}
if (!$model->allow_register) {
@@ -1074,4 +1078,4 @@ class Service implements \Box\InjectionAwareInterface
}
}
}
@@ -133,6 +133,7 @@ $(function() {
$('#domain-check').bind('click',function(event){
var sld = $('input[name="register_sld"]').val();
sld= sld.toLowerCase();
var tld = $('select[name="register_tld"]').val();
var domain = sld + tld;
bb.post(
@@ -34,11 +34,7 @@
<div class="row-fluid">
<div class="controls">
<input type="text" name="domain[register_sld]" value="{{ request.register_sld }}" placeholder="{% trans 'mydomain' %}" class="span4">
{% if product.config.free_domain == 1 %}
{% set tlds = guest.serviceHosting_free_tlds({'product_id' : product.id}) %}
{% else %}
{% set tlds = guest.serviceDomain_tlds({"allow_register":1})%}
{% endif %}
<select name="domain[register_tld]">
{% for tld in tlds%}
<option value="{{ tld.tld}}" label="{{ tld.tld}}">{{ tld.tld}}</option>
+2 -2
View File
@@ -548,6 +548,7 @@ class Service implements \Box\InjectionAwareInterface
$data['replies'] = $this->messageGetRepliesCount($model);
$data['first'] = $this->messageToApiArray($firstSupportTicketMessage);
$data['helpdesk'] = $this->helpdeskToApiArray($supportHelpdesk);
$data['client'] = $this->getClientApiArrayForTicket($model);
if ($deep) {
$messages = $this->messageGetTicketMessages($model);
@@ -559,7 +560,6 @@ class Service implements \Box\InjectionAwareInterface
if ($identity instanceof \Model_Admin) {
$data['rel'] = $this->_getRelDetails($model);
$data['priority'] = $model->priority;
$data['client'] = $this->getClientApiArrayForTicket($model);
$supportTicketNotes = $this->di['db']->find('SupportTicketNote', 'support_ticket_id = :support_ticket_id', array(':support_ticket_id' => $model->id));
foreach ($supportTicketNotes as $note) {
@@ -1487,4 +1487,4 @@ class Service implements \Box\InjectionAwareInterface
return true;
}
}
}
+10 -10
View File
@@ -48,7 +48,7 @@ class Service
}
return $results;
}
public function setParamValue($param, $value, $createIfNotExists = true)
{
$pdo = $this->di['pdo'];
@@ -69,10 +69,10 @@ class Service
}
}
}
return true;
}
public function paramExists($param)
{
$pdo = $this->di['pdo'];
@@ -308,18 +308,18 @@ class Service
$parsed = $template->render($vars);
} catch (\Exception $e) {
//$twig->load throws error when $tpl is string
$parsed = $this->createTemplateFromString($tpl, $try_render, $vars);
$parsed = $this->createTemplateFromString($tpl, $try_render, $vars);
}
return $parsed;
}
public function createTemplateFromString($tpl, $try_render, $vars){
try{
$twig = $this->di['twig'];
try{
$twig = $this->di['twig'];
$template = $twig->createTemplate($tpl);
$parsed = $template->render($vars);
$parsed = $template->render($vars);
}
catch(\Exception $e){
$parsed = $tpl;
@@ -341,7 +341,7 @@ class Service
{
if(isset($ip)) {
try {
return $this->di['tools']->get_url('http://www.biranchi.com/ip.php', 2);
return $this->di['tools']->get_url('https://api.ipify.org', 2);
} catch(\Exception $e) {
return '';
}
@@ -1582,4 +1582,4 @@ class Service
$this->di['session']->delete('pending_messages');
return true;
}
}
}
+3 -2
View File
@@ -276,7 +276,8 @@ class Service implements InjectionAwareInterface
$path = $this->getThemesPath();
if ($handle = opendir($path)) {
while (false !== ($file = readdir($handle))) {
if (is_dir($path . DIRECTORY_SEPARATOR . $file) && $file{0} != '.') {
//**Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/webbhostingservices.com/httpdocs/boxbilling/src/bb-modules/Theme/Service.php on line 279 *//
if (is_dir($path . DIRECTORY_SEPARATOR . $file) && $file(0) != '.') {
try {
if (!$client && strpos($file, 'admin') !== false) {
@@ -383,4 +384,4 @@ class Service implements InjectionAwareInterface
return $config;
}
}
}
@@ -36,7 +36,7 @@
</td>
<td><div style="overflow: auto; width: 250px;">{{ event.message }}</div></td>
<td>{{ event.ip }}</td>
<td>{{ event.ip|ipcountryname }}</td>
<td>{{ event.ip|ipcountryname|default('Unknown') }}</td>
<td>{{ event.created_at|date('Y-m-d H:i') }}</td>
<td class="actions">
<a class="bb-button btn14 bb-rm-tr api-link" data-api-confirm="{% trans 'Are you sure?' %}" data-api-redirect="{{ 'activity'|alink }}" href="{{ 'api/admin/activity/log_delete'|link({'id' : event.id}) }}"><img src="images/icons/dark/trash.png" alt=""></a>
@@ -34,7 +34,7 @@
<div style="position: relative;">
<img src="{{ client.email|gravatar }}?size=100" alt="{{ client.first_name }} {{ client.last_name }}" style="right: 0; margin: 15px 15px 0 15px; position: absolute; border: 2px solid white; box-shadow: 0px 0px 10px 0px;"/>
</div>
<table class="tableStatic wide">
<tbody>
<tr class="noborder">
@@ -69,7 +69,7 @@
</tr>
<tr>
<td>IP:</td>
<td>{{ client.ip|default('-') }} {{ client.ip|ipcountryname }}</td>
<td>{{ client.ip|default('-') }} {{ client.ip|ipcountryname|default('Unknown') }}</td>
</tr>
<tr>
<td>API Key:</td>
@@ -158,7 +158,7 @@
<li class="sep"></li>
<li style="width: 245px"><input type="text" name="last_name" value="{{client.last_name}}" /></li>
</ul>
</div>
</div>
<div class="fix"></div>
</div>
<div class="rowElem">
@@ -179,12 +179,12 @@
<li style="width: 150px"><input type="text" name="company_number" value="{{client.company_number}}" title="Company number" placeholder="Company number"/></li>
<li class="sep"></li>
</ul>
</div>
</div>
<div class="fix"></div>
</div>
<input type="submit" value="{% trans 'Update' %}" class="greyishBtn submitForm" />
</fieldset>
<fieldset>
<legend>{% trans 'Address and contact details' %}</legend>
<div class="rowElem">
@@ -238,9 +238,9 @@
<li><input type="text" name="phone_cc" value="{{client.phone_cc}}" /></li>
<li class="sep"></li>
<li style="width: 200px;"><input type="text" name="phone" value="{{client.phone}}" /></li>
</ul>
</div>
<div class="fix"></div>
</ul>
</div>
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Passport number' %}:</label>
@@ -251,25 +251,25 @@
</div>
<input type="submit" value="{% trans 'Update' %}" class="greyishBtn submitForm" />
</fieldset>
<fieldset>
<legend>{% trans 'Additional settings' %}</legend>
<div class="rowElem">
<label>{% trans 'Alternative ID' %}:</label>
<div class="formRight">
<input type="text" name="aid" value="{{client.aid}}" placeholder="{% trans 'Used to identify client on foreign system. Usually used by importers' %}"/>
</div>
<div class="fix"></div>
</div>
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Currency' %}:</label>
<div class="formRight">
{{ mf.selectbox('currency', guest.currency_get_pairs, client.currency, 0, 'Select currency') }}
</div>
</div>
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Exempt from tax' %}:</label>
<div class="formRight">
@@ -296,7 +296,7 @@
<input type="hidden" name="id" value="{{ client.id }}"/>
</fieldset>
</form>
<div class="help">
<h3>{% trans 'Change password' %}</h3>
</div>
@@ -327,7 +327,7 @@
<h3>{% trans 'Custom fields' %}</h3>
<p>{% trans 'Use these fields to define custom client details' %}</p>
</div>
<form method="post" action="{{ 'api/admin/client/update'|link }}" class="mainForm api-form save" data-api-msg="{% trans 'Client Profile custom fields updated' %}">
<fieldset>
{% for i in 1..10 %}
@@ -363,8 +363,8 @@
</thead>
<tbody>
{% set transactions = admin.client_balance_get_list({"per_page":20, "client_id":client.id}) %}
{% for i, tx in transactions.list %}
{% set payments = admin.client_balance_get_list({"per_page":20, "client_id":client.id}) %}
{% for i, tx in payments.list %}
<tr>
<td>{{mf.currency_format(tx.amount, tx.currency)}}</td>
<td>{{tx.description}}</td>
@@ -386,7 +386,7 @@
</tr>
</tfoot>
</table>
<div class="help">
<h3>{% trans 'Add funds for client' %}</h3>
</div>
@@ -400,7 +400,7 @@
</div>
<div class="fix"></div>
</div>
<div class="rowElem">
<label>{% trans 'Description' %}:</label>
<div class="formRight noborder">
@@ -448,7 +448,7 @@
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td colspan="6">
@@ -492,7 +492,7 @@
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td colspan="6">
@@ -517,7 +517,7 @@
<td>&nbsp;</td>
</tr>
</thead>
<tbody>
{% set tickets = admin.support_ticket_get_list({"per_page":"20", "client_id":client.id}) %}
{% for ticket in tickets.list %}
@@ -534,7 +534,7 @@
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td colspan="5">
@@ -544,12 +544,12 @@
</tfoot>
</table>
</div>
<div class="tab_content nopadding" id="tab-history">
<div class="help">
<h3>{% trans 'Logins history' %}</h3>
</div>
<table class="tableStatic wide">
<thead>
<tr>
@@ -564,7 +564,7 @@
{% for i, login in logins.list %}
<tr>
<td>{{login.ip}}</td>
<td>{{login.ip|ipcountryname}}</td>
<td>{{login.ip|ipcountryname|default('Unknown')}}</td>
<td>{{login.created_at|date('l, d F Y')}}</td>
</tr>
{% else %}
@@ -682,7 +682,7 @@
</tr>
<tr>
<td>IP:</td>
<td><span class="expire">{{ client.ip }} {{ client.ip|ipcountryname }}</span></td>
<td><span class="expire">{{ client.ip }} {{ client.ip|ipcountryname|default('Unknown') }}</span></td>
</tr>
<tr>
<td>Address:</td>
@@ -745,4 +745,4 @@ function onAfterInvoicePrepared(id) {
bb.redirect("{{'invoice/manage/'|alink}}/"+id);
}
</script>
{% endblock %}
{% endblock %}
@@ -37,7 +37,7 @@
</div>
{% endif%}
<table class="tableStatic wide">
<tbody>
<tr {% if not transaction.error %}class="noborder"{% endif %}>
@@ -69,7 +69,7 @@
<td>{% trans 'Transaction status on payment gateway' %}</td>
<td>{{ mf.status_name(transaction.txn_status) }}</td>
</tr>
<tr>
<td>{% trans 'Status' %}</td>
<td>{{ mf.status_name(transaction.status) }}</td>
@@ -77,7 +77,7 @@
<tr>
<td>{% trans 'IP' %}</td>
<td>{{ transaction.ip }} {{ transaction.ip|ipcountryname }}</td>
<td>{{ transaction.ip }} {{ transaction.ip|ipcountryname|default('Unknown') }}</td>
</tr>
{% if transaction.note %}
@@ -140,7 +140,7 @@
<div class="fix"></div>
</div>
</fieldset>
<fieldset>
<legend>{% trans 'Transaction processing information' %}</legend>
<div class="rowElem">
@@ -159,7 +159,7 @@
<div class="fix"></div>
</div>
</fieldset>
<fieldset>
<legend>{% trans 'Transaction information on payment gateway' %}</legend>
<div class="rowElem">
@@ -212,7 +212,7 @@
<div id="tab-ipn" class="tab_content nopadding">
<div class="help">
<h3>{% trans 'GET' %}</h3>
</div>
@@ -233,7 +233,7 @@
</div>
{% endif %}
<div class="help">
<h3>{% trans 'POST' %}</h3>
</div>
@@ -253,7 +253,7 @@
<p>{% trans 'No POST parameters received' %}</p>
</div>
{% endif %}
<div class="help">
<h3>{% trans 'SERVER' %}</h3>
</div>
@@ -273,8 +273,8 @@
<p>{% trans 'No SERVER parameters logged' %}</p>
</div>
{% endif %}
<div class="help">
<h3>{{ 'http_raw_post_data'|upper}}</h3>
</div>
@@ -294,4 +294,4 @@
<div class="fix"></div>
</div>
{% endblock %}
{% endblock %}
@@ -39,7 +39,7 @@
<label>{% trans 'Select free tlds' %}</label>
<div class="formRight">
{% set tlds = guest.serviceDomain_tlds({"allow_register":1}) %}
<select name="config[free_tlds][]" multiple="multiple" class="multiple" size="{{tlds|length}}">
<select name="config[free_tlds][]" multiple="multiple" class="multiple" size="{{tlds|length}}" {% if product.config.free_domain %}required{% endif %}>
{% for id,tld in tlds %}
<option value="{{tld.tld}}" {% if tld.tld in product.config.free_tlds %}selected="selected"{% endif %}>{{tld.tld }}</option>
{% endfor %}
@@ -51,7 +51,7 @@
<div class="rowElem free-periods-row">
<label>{% trans 'Select free periods' %}</label>
<div class="formRight">
<select name="config[free_domain_periods][]" multiple="multiple" class="multiple" size="8">
<select name="config[free_domain_periods][]" multiple="multiple" class="multiple" size="8" {% if product.config.free_domain %}required{% endif %}>
<option value="1M" {% if "1M" in product.config.free_domain_periods %}selected="selected"{% endif %}>1M</option>
<option value="3M" {% if "3M" in product.config.free_domain_periods %}selected="selected"{% endif %}>3M</option>
<option value="6M" {% if "6M" in product.config.free_domain_periods %}selected="selected"{% endif %}>6M</option>
@@ -152,8 +152,14 @@
if ($(this).val() == 1){
freeTldsRow.fadeIn('slow');
freePerdsRow.fadeIn('slow');
$('select[name="config[free_tlds][]"]').prop('required', true);
$('select[name="config[free_domain_periods][]"]').prop('required', true);
}
if ($(this).val() == 0){
$('select[name="config[free_domain_periods][]"]').prop('required', false);
$('select[name="config[free_tlds][]"]').prop('required', false);
$('select[name="config[free_tlds][]"] option:selected').prop('selected', false);
$('select[name="config[free_domain_periods][]"] option:selected').prop('selected', false);
freeTldsRow.fadeOut('slow');
freePerdsRow.fadeOut('slow');
}
@@ -42,10 +42,10 @@
<td>{{ item.period | period_title }}</td>
<td class="currency">
{% if item.discount_price %}
<del>{{ (item.price*item.quantity) | money_convert }}</del>
{{ (item.price*item.quantity - item.discount_price*item.quantity) | money_convert }}
<del>{{ (item.total) | money_convert }}</del>
{{ (item.total - item.discount_price) | money_convert }}
{% else %}
{{ item.price | money_convert }}
{{ (item.total) | money_convert }}
{% endif %}
</td>
</tr>
@@ -96,11 +96,9 @@
<div class="currency">{{ tax_amount | money_convert }}</div>
{% endif %}
<p>{% trans 'Total:' %}</p>
<div class="currency">{% if cart.items[1].quantity > 1 and cart.items[1].discount_price%}
{{ (cart.total - (cart.items[1].price*(cart.items[1].quantity-1))) | money_convert }}
{%else%}
{{(cart.total + tax_amount) | money_convert }}
{%endif%}</div>
<div class="currency">
{{(cart.total + tax_amount) | money_convert }}
</div>
<form method="post" action="{{ 'api/client/cart/checkout'|link }}" class="api-form" data-api-jsonp="onAfterCartCheckout">
{% set enough_in_balance = client.client_balance_get_total >= cart.total %}
{% if cart.total and not enough_in_balance %}
@@ -179,12 +179,12 @@
{% else %}
{{ item.title }}
{% endif %}
{% if item.quantity > 1 %}
x {{ item.quantity }} {{ item.unit }}
{% endif %}
</td>
<td class="currency">
{{ item.price | money(invoice.currency) }}
{% if item.quantity > 1 %}
x {{ item.quantity }} {# item.unit #}
{% endif %}
</td>
<td class="currency">{{ item.total | money(invoice.currency) }}</td>
</tr>
@@ -61,11 +61,9 @@
<legend>{% trans 'Register a new domain' %}</legend>
<p>
<input type="text" name="domain[register_sld]" value="{{ request.register_sld }}" style="width: 333px" placeholder="{% trans 'Enter your domain name' %}">
{% if product.config.free_domain == 1 %}
{% set tlds = guest.serviceHosting_free_tlds({'product_id' : product.id}) %}
{% else %}
{% set tlds = guest.serviceDomain_tlds({"allow_register":1})%}
{% endif %}
{{ mf.selectboxtld('domain[register_tld]', tlds)}}
</p>
+6 -1
View File
@@ -6,9 +6,14 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'tFPDF' => array($vendorDir . '/docnet/tfpdf/src'),
'tFPDF' => array($vendorDir . '/rev42/tfpdf/src'),
'Twig_Extensions_' => array($vendorDir . '/twig/extensions/lib'),
'Twig_' => array($vendorDir . '/twig/twig/lib'),
'Pimple' => array($vendorDir . '/pimple/pimple/src'),
'Michelf' => array($vendorDir . '/michelf/php-markdown'),
'JsonSerializable' => array($vendorDir . '/geoip2/geoip2/compat'),
'Guzzle\\Tests' => array($vendorDir . '/guzzle/guzzle/tests'),
'Guzzle' => array($vendorDir . '/guzzle/guzzle/src'),
'GeoIp2' => array($vendorDir . '/geoip2/geoip2/src'),
'' => array($baseDir . '/bb-library', $baseDir . '/../tests/bb-library'),
);
+1 -5
View File
@@ -12,18 +12,14 @@ return array(
'Twig\\' => array($vendorDir . '/twig/twig/src'),
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'),
'Stripe\\' => array($vendorDir . '/stripe/stripe-php/lib'),
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
'Prophecy\\' => array($vendorDir . '/phpspec/prophecy/src/Prophecy'),
'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
'Michelf\\' => array($vendorDir . '/michelf/php-markdown/Michelf'),
'MaxMind\\WebService\\' => array($vendorDir . '/maxmind/web-service-common/src/WebService'),
'MaxMind\\Exception\\' => array($vendorDir . '/maxmind/web-service-common/src/Exception'),
'MaxMind\\Db\\' => array($vendorDir . '/maxmind-db/reader/src/MaxMind/Db'),
'GeoIp2\\' => array($vendorDir . '/geoip2/geoip2/src'),
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
'Composer\\CaBundle\\' => array($vendorDir . '/composer/ca-bundle/src'),
'Box\\Mod\\' => array($baseDir . '/bb-modules'),
);
+35 -32
View File
@@ -33,6 +33,7 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
array (
'Symfony\\Polyfill\\Mbstring\\' => 26,
'Symfony\\Polyfill\\Ctype\\' => 23,
'Symfony\\Component\\EventDispatcher\\' => 34,
'Stripe\\' => 7,
),
'P' =>
@@ -44,24 +45,13 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
),
'M' =>
array (
'Michelf\\' => 8,
'MaxMind\\WebService\\' => 19,
'MaxMind\\Exception\\' => 18,
'MaxMind\\Db\\' => 11,
),
'G' =>
array (
'GeoIp2\\' => 7,
),
'D' =>
array (
'Doctrine\\Instantiator\\' => 22,
'DeepCopy\\' => 9,
),
'C' =>
array (
'Composer\\CaBundle\\' => 18,
),
'B' =>
array (
'Box\\Mod\\' => 8,
@@ -95,6 +85,10 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
),
'Symfony\\Component\\EventDispatcher\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/event-dispatcher',
),
'Stripe\\' =>
array (
0 => __DIR__ . '/..' . '/stripe/stripe-php/lib',
@@ -115,26 +109,10 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
array (
0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src',
),
'Michelf\\' =>
array (
0 => __DIR__ . '/..' . '/michelf/php-markdown/Michelf',
),
'MaxMind\\WebService\\' =>
array (
0 => __DIR__ . '/..' . '/maxmind/web-service-common/src/WebService',
),
'MaxMind\\Exception\\' =>
array (
0 => __DIR__ . '/..' . '/maxmind/web-service-common/src/Exception',
),
'MaxMind\\Db\\' =>
array (
0 => __DIR__ . '/..' . '/maxmind-db/reader/src/MaxMind/Db',
),
'GeoIp2\\' =>
array (
0 => __DIR__ . '/..' . '/geoip2/geoip2/src',
),
'Doctrine\\Instantiator\\' =>
array (
0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator',
@@ -143,10 +121,6 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
array (
0 => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy',
),
'Composer\\CaBundle\\' =>
array (
0 => __DIR__ . '/..' . '/composer/ca-bundle/src',
),
'Box\\Mod\\' =>
array (
0 => __DIR__ . '/../..' . '/bb-modules',
@@ -158,7 +132,7 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
array (
'tFPDF' =>
array (
0 => __DIR__ . '/..' . '/docnet/tfpdf/src',
0 => __DIR__ . '/..' . '/rev42/tfpdf/src',
),
),
'T' =>
@@ -179,6 +153,35 @@ class ComposerStaticInitd025dea45a31447fa4961b5fce4f57c3
0 => __DIR__ . '/..' . '/pimple/pimple/src',
),
),
'M' =>
array (
'Michelf' =>
array (
0 => __DIR__ . '/..' . '/michelf/php-markdown',
),
),
'J' =>
array (
'JsonSerializable' =>
array (
0 => __DIR__ . '/..' . '/geoip2/geoip2/compat',
),
),
'G' =>
array (
'Guzzle\\Tests' =>
array (
0 => __DIR__ . '/..' . '/guzzle/guzzle/tests',
),
'Guzzle' =>
array (
0 => __DIR__ . '/..' . '/guzzle/guzzle/src',
),
'GeoIp2' =>
array (
0 => __DIR__ . '/..' . '/geoip2/geoip2/src',
),
),
);
public static $fallbackDirsPsr0 = array (
-19
View File
@@ -1,19 +0,0 @@
Copyright (C) 2016 Composer
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-85
View File
@@ -1,85 +0,0 @@
composer/ca-bundle
==================
Small utility library that lets you find a path to the system CA bundle,
and includes a fallback to the Mozilla CA bundle.
Originally written as part of [composer/composer](https://github.com/composer/composer),
now extracted and made available as a stand-alone library.
Installation
------------
Install the latest version with:
```bash
$ composer require composer/ca-bundle
```
Requirements
------------
* PHP 5.3.2 is required but using the latest version of PHP is highly recommended.
Basic usage
-----------
### `Composer\CaBundle\CaBundle`
- `CaBundle::getSystemCaRootBundlePath()`: Returns the system CA bundle path, or a path to the bundled one as fallback
- `CaBundle::getBundledCaBundlePath()`: Returns the path to the bundled CA file
- `CaBundle::validateCaFile($filename)`: Validates a CA file using openssl_x509_parse only if it is safe to use
- `CaBundle::isOpensslParseSafe()`: Test if it is safe to use the PHP function openssl_x509_parse()
- `CaBundle::reset()`: Resets the static caches
#### To use with curl
```php
$curl = curl_init("https://example.org/");
$caPathOrFile = \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath();
if (is_dir($caPathOrFile)) {
curl_setopt($curl, CURLOPT_CAPATH, $caPathOrFile);
} else {
curl_setopt($curl, CURLOPT_CAINFO, $caPathOrFile);
}
$result = curl_exec($curl);
```
#### To use with php streams
```php
$opts = array(
'http' => array(
'method' => "GET"
)
);
$caPathOrFile = \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath();
if (is_dir($caPathOrFile)) {
$opts['ssl']['capath'] = $caPathOrFile;
} else {
$opts['ssl']['cafile'] = $caPathOrFile;
}
$context = stream_context_create($opts);
$result = file_get_contents('https://example.com', false, $context);
```
#### To use with Guzzle
```php
$client = new \GuzzleHttp\Client([
\GuzzleHttp\RequestOptions::VERIFY => \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath()
]);
```
License
-------
composer/ca-bundle is licensed under the MIT License, see the LICENSE file for details.
@@ -1,54 +0,0 @@
{
"name": "composer/ca-bundle",
"description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.",
"type": "library",
"license": "MIT",
"keywords": [
"cabundle",
"cacert",
"certificate",
"ssl",
"tls"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http://seld.be"
}
],
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues"
},
"require": {
"ext-openssl": "*",
"ext-pcre": "*",
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8",
"psr/log": "^1.0",
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0"
},
"autoload": {
"psr-4": {
"Composer\\CaBundle\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Composer\\CaBundle\\": "tests"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"config": {
"platform": {
"php": "5.3.9"
}
}
}
File diff suppressed because it is too large. Load diff
@@ -1,325 +0,0 @@
<?php
/*
* This file is part of composer/ca-bundle.
*
* (c) Composer <https://github.com/composer>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Composer\CaBundle;
use Psr\Log\LoggerInterface;
use Symfony\Component\Process\PhpProcess;
/**
* @author Chris Smith <chris@cs278.org>
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
class CaBundle
{
private static $caPath;
private static $caFileValidity = array();
private static $useOpensslParse;
/**
* Returns the system CA bundle path, or a path to the bundled one
*
* This method was adapted from Sslurp.
* https://github.com/EvanDotPro/Sslurp
*
* (c) Evan Coury <me@evancoury.com>
*
* For the full copyright and license information, please see below:
*
* Copyright (c) 2013, Evan Coury
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @param LoggerInterface $logger optional logger for information about which CA files were loaded
* @return string path to a CA bundle file or directory
*/
public static function getSystemCaRootBundlePath(LoggerInterface $logger = null)
{
if (self::$caPath !== null) {
return self::$caPath;
}
$caBundlePaths = array();
// If SSL_CERT_FILE env variable points to a valid certificate/bundle, use that.
// This mimics how OpenSSL uses the SSL_CERT_FILE env variable.
$caBundlePaths[] = self::getEnvVariable('SSL_CERT_FILE');
// If SSL_CERT_DIR env variable points to a valid certificate/bundle, use that.
// This mimics how OpenSSL uses the SSL_CERT_FILE env variable.
$caBundlePaths[] = self::getEnvVariable('SSL_CERT_DIR');
$caBundlePaths[] = ini_get('openssl.cafile');
$caBundlePaths[] = ini_get('openssl.capath');
$otherLocations = array(
'/etc/pki/tls/certs/ca-bundle.crt', // Fedora, RHEL, CentOS (ca-certificates package)
'/etc/ssl/certs/ca-certificates.crt', // Debian, Ubuntu, Gentoo, Arch Linux (ca-certificates package)
'/etc/ssl/ca-bundle.pem', // SUSE, openSUSE (ca-certificates package)
'/usr/local/share/certs/ca-root-nss.crt', // FreeBSD (ca_root_nss_package)
'/usr/ssl/certs/ca-bundle.crt', // Cygwin
'/opt/local/share/curl/curl-ca-bundle.crt', // OS X macports, curl-ca-bundle package
'/usr/local/share/curl/curl-ca-bundle.crt', // Default cURL CA bunde path (without --with-ca-bundle option)
'/usr/share/ssl/certs/ca-bundle.crt', // Really old RedHat?
'/etc/ssl/cert.pem', // OpenBSD
'/usr/local/etc/ssl/cert.pem', // FreeBSD 10.x
'/usr/local/etc/openssl/cert.pem', // OS X homebrew, openssl package
'/usr/local/etc/openssl@1.1/cert.pem', // OS X homebrew, openssl@1.1 package
);
foreach($otherLocations as $location) {
$otherLocations[] = dirname($location);
}
$caBundlePaths = array_merge($caBundlePaths, $otherLocations);
foreach ($caBundlePaths as $caBundle) {
if (self::caFileUsable($caBundle, $logger)) {
return self::$caPath = $caBundle;
}
if (self::caDirUsable($caBundle)) {
return self::$caPath = $caBundle;
}
}
return self::$caPath = static::getBundledCaBundlePath(); // Bundled CA file, last resort
}
/**
* Returns the path to the bundled CA file
*
* In case you don't want to trust the user or the system, you can use this directly
*
* @return string path to a CA bundle file
*/
public static function getBundledCaBundlePath()
{
$caBundleFile = __DIR__.'/../res/cacert.pem';
// cURL does not understand 'phar://' paths
// see https://github.com/composer/ca-bundle/issues/10
if (0 === strpos($caBundleFile, 'phar://')) {
file_put_contents(
$tempCaBundleFile = tempnam(sys_get_temp_dir(), 'openssl-ca-bundle-'),
file_get_contents($caBundleFile)
);
register_shutdown_function(function() use ($tempCaBundleFile) {
@unlink($tempCaBundleFile);
});
$caBundleFile = $tempCaBundleFile;
}
return $caBundleFile;
}
/**
* Validates a CA file using opensl_x509_parse only if it is safe to use
*
* @param string $filename
* @param LoggerInterface $logger optional logger for information about which CA files were loaded
*
* @return bool
*/
public static function validateCaFile($filename, LoggerInterface $logger = null)
{
static $warned = false;
if (isset(self::$caFileValidity[$filename])) {
return self::$caFileValidity[$filename];
}
$contents = file_get_contents($filename);
// assume the CA is valid if php is vulnerable to
// https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html
if (!static::isOpensslParseSafe()) {
if (!$warned && $logger) {
$logger->warning(sprintf(
'Your version of PHP, %s, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.',
PHP_VERSION
));
$warned = true;
}
$isValid = !empty($contents);
} else {
$contents = preg_replace("/^(\\-+(?:BEGIN|END))\\s+TRUSTED\\s+(CERTIFICATE\\-+)\$/m", '$1 $2', $contents);
$isValid = (bool) openssl_x509_parse($contents);
}
if ($logger) {
$logger->debug('Checked CA file '.realpath($filename).': '.($isValid ? 'valid' : 'invalid'));
}
return self::$caFileValidity[$filename] = $isValid;
}
/**
* Test if it is safe to use the PHP function openssl_x509_parse().
*
* This checks if OpenSSL extensions is vulnerable to remote code execution
* via the exploit documented as CVE-2013-6420.
*
* @return bool
*/
public static function isOpensslParseSafe()
{
if (null !== self::$useOpensslParse) {
return self::$useOpensslParse;
}
if (PHP_VERSION_ID >= 50600) {
return self::$useOpensslParse = true;
}
// Vulnerable:
// PHP 5.3.0 - PHP 5.3.27
// PHP 5.4.0 - PHP 5.4.22
// PHP 5.5.0 - PHP 5.5.6
if (
(PHP_VERSION_ID < 50400 && PHP_VERSION_ID >= 50328)
|| (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
|| (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
) {
// This version of PHP has the fix for CVE-2013-6420 applied.
return self::$useOpensslParse = true;
}
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
// Windows is probably insecure in this case.
return self::$useOpensslParse = false;
}
$compareDistroVersionPrefix = function ($prefix, $fixedVersion) {
$regex = '{^'.preg_quote($prefix).'([0-9]+)$}';
if (preg_match($regex, PHP_VERSION, $m)) {
return ((int) $m[1]) >= $fixedVersion;
}
return false;
};
// Hard coded list of PHP distributions with the fix backported.
if (
$compareDistroVersionPrefix('5.3.3-7+squeeze', 18) // Debian 6 (Squeeze)
|| $compareDistroVersionPrefix('5.4.4-14+deb7u', 7) // Debian 7 (Wheezy)
|| $compareDistroVersionPrefix('5.3.10-1ubuntu3.', 9) // Ubuntu 12.04 (Precise)
) {
return self::$useOpensslParse = true;
}
// Symfony Process component is missing so we assume it is unsafe at this point
if (!class_exists('Symfony\Component\Process\PhpProcess')) {
return self::$useOpensslParse = false;
}
// This is where things get crazy, because distros backport security
// fixes the chances are on NIX systems the fix has been applied but
// it's not possible to verify that from the PHP version.
//
// To verify exec a new PHP process and run the issue testcase with
// known safe input that replicates the bug.
// Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
// changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
$cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
$script = <<<'EOT'
error_reporting(-1);
$info = openssl_x509_parse(base64_decode('%s'));
var_dump(PHP_VERSION, $info['issuer']['emailAddress'], $info['validFrom_time_t']);
EOT;
$script = '<'."?php\n".sprintf($script, $cert);
try {
$process = new PhpProcess($script);
$process->mustRun();
} catch (\Exception $e) {
// In the case of any exceptions just accept it is not possible to
// determine the safety of openssl_x509_parse and bail out.
return self::$useOpensslParse = false;
}
$output = preg_split('{\r?\n}', trim($process->getOutput()));
$errorOutput = trim($process->getErrorOutput());
if (
count($output) === 3
&& $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
&& $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
&& $output[2] === 'int(-1)'
&& preg_match('{openssl_x509_parse\(\): illegal (?:ASN1 data type for|length in) timestamp in - on line \d+}', $errorOutput)
) {
// This PHP has the fix backported probably by a distro security team.
return self::$useOpensslParse = true;
}
return self::$useOpensslParse = false;
}
/**
* Resets the static caches
*/
public static function reset()
{
self::$caFileValidity = array();
self::$caPath = null;
self::$useOpensslParse = null;
}
private static function getEnvVariable($name)
{
if (isset($_SERVER[$name])) {
return (string) $_SERVER[$name];
}
if (PHP_SAPI === 'cli' && ($value = getenv($name)) !== false && $value !== null) {
return (string) $value;
}
return false;
}
private static function caFileUsable($certFile, LoggerInterface $logger = null)
{
return $certFile && @is_file($certFile) && @is_readable($certFile) && static::validateCaFile($certFile, $logger);
}
private static function caDirUsable($certDir)
{
return $certDir && @is_dir($certDir) && @is_readable($certDir) && glob($certDir . '/*');
}
}
+258 -204
View File
@@ -1,115 +1,4 @@
[
{
"name": "composer/ca-bundle",
"version": "1.2.8",
"version_normalized": "1.2.8.0",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
"reference": "8a7ecad675253e4654ea05505233285377405215"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/8a7ecad675253e4654ea05505233285377405215",
"reference": "8a7ecad675253e4654ea05505233285377405215",
"shasum": ""
},
"require": {
"ext-openssl": "*",
"ext-pcre": "*",
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8",
"psr/log": "^1.0",
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0"
},
"time": "2020-08-23T12:54:47+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Composer\\CaBundle\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http://seld.be"
}
],
"description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.",
"keywords": [
"cabundle",
"cacert",
"certificate",
"ssl",
"tls"
],
"funding": [
{
"url": "https://packagist.com",
"type": "custom"
},
{
"url": "https://github.com/composer",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
"type": "tidelift"
}
]
},
{
"name": "docnet/tfpdf",
"version": "v1.25",
"version_normalized": "1.25.0.0",
"source": {
"type": "git",
"url": "https://github.com/DocnetUK/tfpdf.git",
"reference": "08689ec41e757dde94db5e7527a98c5788555b61"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/DocnetUK/tfpdf/zipball/08689ec41e757dde94db5e7527a98c5788555b61",
"reference": "08689ec41e757dde94db5e7527a98c5788555b61",
"shasum": ""
},
"time": "2015-10-10T22:37:26+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"tFPDF": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL"
],
"authors": [
{
"name": "Ian Back",
"email": "ianb@bpm1.com"
}
],
"description": "tFPDF",
"homepage": "http://fpdf.org/fr/script/script92.php",
"keywords": [
"pdf"
]
},
{
"name": "doctrine/instantiator",
"version": "1.3.1",
@@ -184,36 +73,35 @@
},
{
"name": "geoip2/geoip2",
"version": "v2.10.0",
"version_normalized": "2.10.0.0",
"version": "v2.1.0",
"version_normalized": "2.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/maxmind/GeoIP2-php.git",
"reference": "419557cd21d9fe039721a83490701a58c8ce784a"
"reference": "64f226209342c4a2f54b82ba3f0707db944f7d70"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/419557cd21d9fe039721a83490701a58c8ce784a",
"reference": "419557cd21d9fe039721a83490701a58c8ce784a",
"url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/64f226209342c4a2f54b82ba3f0707db944f7d70",
"reference": "64f226209342c4a2f54b82ba3f0707db944f7d70",
"shasum": ""
},
"require": {
"ext-json": "*",
"maxmind-db/reader": "~1.5",
"maxmind/web-service-common": "~0.6",
"php": ">=5.6"
"guzzle/guzzle": "3.*",
"maxmind-db/reader": "~1.0",
"php": ">=5.3.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.*",
"phpunit/phpunit": "5.*",
"squizlabs/php_codesniffer": "3.*"
"phpunit/phpunit": "4.2.*",
"satooshi/php-coveralls": "dev-master"
},
"time": "2019-12-12T18:48:39+00:00",
"time": "2014-10-29T17:11:44+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"GeoIp2\\": "src"
"psr-0": {
"GeoIp2": "src/",
"JsonSerializable": "compat/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -224,7 +112,7 @@
{
"name": "Gregory J. Oschwald",
"email": "goschwald@maxmind.com",
"homepage": "https://www.maxmind.com/"
"homepage": "http://www.maxmind.com/"
}
],
"description": "MaxMind GeoIP2 PHP API",
@@ -237,6 +125,104 @@
"maxmind"
]
},
{
"name": "guzzle/guzzle",
"version": "v3.9.3",
"version_normalized": "3.9.3.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle3.git",
"reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9",
"reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9",
"shasum": ""
},
"require": {
"ext-curl": "*",
"php": ">=5.3.3",
"symfony/event-dispatcher": "~2.1"
},
"replace": {
"guzzle/batch": "self.version",
"guzzle/cache": "self.version",
"guzzle/common": "self.version",
"guzzle/http": "self.version",
"guzzle/inflection": "self.version",
"guzzle/iterator": "self.version",
"guzzle/log": "self.version",
"guzzle/parser": "self.version",
"guzzle/plugin": "self.version",
"guzzle/plugin-async": "self.version",
"guzzle/plugin-backoff": "self.version",
"guzzle/plugin-cache": "self.version",
"guzzle/plugin-cookie": "self.version",
"guzzle/plugin-curlauth": "self.version",
"guzzle/plugin-error-response": "self.version",
"guzzle/plugin-history": "self.version",
"guzzle/plugin-log": "self.version",
"guzzle/plugin-md5": "self.version",
"guzzle/plugin-mock": "self.version",
"guzzle/plugin-oauth": "self.version",
"guzzle/service": "self.version",
"guzzle/stream": "self.version"
},
"require-dev": {
"doctrine/cache": "~1.3",
"monolog/monolog": "~1.0",
"phpunit/phpunit": "3.7.*",
"psr/log": "~1.0",
"symfony/class-loader": "~2.1",
"zendframework/zend-cache": "2.*,<2.3",
"zendframework/zend-log": "2.*,<2.3"
},
"suggest": {
"guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated."
},
"time": "2015-03-18T18:23:50+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.9-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-0": {
"Guzzle": "src/",
"Guzzle\\Tests": "tests/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Guzzle Community",
"homepage": "https://github.com/guzzle/guzzle/contributors"
}
],
"description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle",
"homepage": "http://guzzlephp.org/",
"keywords": [
"client",
"curl",
"framework",
"http",
"http client",
"rest",
"web service"
],
"abandoned": "guzzlehttp/guzzle"
},
{
"name": "ircmaxell/password-compat",
"version": "v1.0.4",
@@ -343,81 +329,35 @@
"maxmind"
]
},
{
"name": "maxmind/web-service-common",
"version": "v0.7.0",
"version_normalized": "0.7.0.0",
"source": {
"type": "git",
"url": "https://github.com/maxmind/web-service-common-php.git",
"reference": "74c996c218ada5c639c8c2f076756e059f5552fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/74c996c218ada5c639c8c2f076756e059f5552fc",
"reference": "74c996c218ada5c639c8c2f076756e059f5552fc",
"shasum": ""
},
"require": {
"composer/ca-bundle": "^1.0.3",
"ext-curl": "*",
"ext-json": "*",
"php": ">=5.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.*",
"phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0",
"squizlabs/php_codesniffer": "3.*"
},
"time": "2020-05-06T14:07:26+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"MaxMind\\Exception\\": "src/Exception",
"MaxMind\\WebService\\": "src/WebService"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Gregory Oschwald",
"email": "goschwald@maxmind.com"
}
],
"description": "Internal MaxMind Web Service API",
"homepage": "https://github.com/maxmind/web-service-common-php"
},
{
"name": "michelf/php-markdown",
"version": "1.9.0",
"version_normalized": "1.9.0.0",
"version": "1.7.0",
"version_normalized": "1.7.0.0",
"source": {
"type": "git",
"url": "https://github.com/michelf/php-markdown.git",
"reference": "c83178d49e372ca967d1a8c77ae4e051b3a3c75c"
"reference": "1f51cc520948f66cd2af8cbc45a5ee175e774220"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/michelf/php-markdown/zipball/c83178d49e372ca967d1a8c77ae4e051b3a3c75c",
"reference": "c83178d49e372ca967d1a8c77ae4e051b3a3c75c",
"url": "https://api.github.com/repos/michelf/php-markdown/zipball/1f51cc520948f66cd2af8cbc45a5ee175e774220",
"reference": "1f51cc520948f66cd2af8cbc45a5ee175e774220",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.3 <5.8"
},
"time": "2019-12-02T02:32:27+00:00",
"time": "2016-10-29T18:58:20+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-lib": "1.4.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Michelf\\": "Michelf/"
"psr-0": {
"Michelf": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -862,17 +802,17 @@
},
{
"name": "phpmailer/phpmailer",
"version": "v6.1.7",
"version_normalized": "6.1.7.0",
"version": "v6.1.6",
"version_normalized": "6.1.6.0",
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "2c2370ba3df7034f9eb7b8f387c97b52b2ba5ad0"
"reference": "c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/2c2370ba3df7034f9eb7b8f387c97b52b2ba5ad0",
"reference": "2c2370ba3df7034f9eb7b8f387c97b52b2ba5ad0",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3",
"reference": "c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3",
"shasum": ""
},
"require": {
@@ -893,7 +833,7 @@
"stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication",
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
},
"time": "2020-07-14T18:50:27+00:00",
"time": "2020-05-27T12:24:03+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -1507,6 +1447,46 @@
"psr"
]
},
{
"name": "rev42/tfpdf",
"version": "v1.24",
"version_normalized": "1.24.0.0",
"source": {
"type": "git",
"url": "https://github.com/rev42/tfpdf.git",
"reference": "a6c61aa39be95a8604fb863026e8c2b969ae4113"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/rev42/tfpdf/zipball/a6c61aa39be95a8604fb863026e8c2b969ae4113",
"reference": "a6c61aa39be95a8604fb863026e8c2b969ae4113",
"shasum": ""
},
"time": "2014-01-19T09:18:44+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"tFPDF": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL"
],
"authors": [
{
"name": "Ian Back",
"email": "ianb@bpm1.com"
}
],
"description": "tFPDF",
"homepage": "http://fpdf.org/fr/script/script92.php",
"keywords": [
"pdf"
],
"abandoned": "docnet/tFPDF"
},
{
"name": "sebastian/cli-parser",
"version": "1.0.0",
@@ -2518,17 +2498,17 @@
},
{
"name": "stripe/stripe-php",
"version": "v2.3.0",
"version_normalized": "2.3.0.0",
"version": "v2.1.1",
"version_normalized": "2.1.1.0",
"source": {
"type": "git",
"url": "https://github.com/stripe/stripe-php.git",
"reference": "9d76444550a09a6f9c55dd98113ba0901908e60a"
"reference": "9d468f2faa25b2b5447c033bf70aaded6139dd6b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/9d76444550a09a6f9c55dd98113ba0901908e60a",
"reference": "9d76444550a09a6f9c55dd98113ba0901908e60a",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/9d468f2faa25b2b5447c033bf70aaded6139dd6b",
"reference": "9d468f2faa25b2b5447c033bf70aaded6139dd6b",
"shasum": ""
},
"require": {
@@ -2542,7 +2522,7 @@
"satooshi/php-coveralls": "~0.6.1",
"squizlabs/php_codesniffer": "~2.0"
},
"time": "2015-07-07T01:13:32+00:00",
"time": "2015-03-02T05:44:40+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -2573,6 +2553,68 @@
"stripe"
]
},
{
"name": "symfony/event-dispatcher",
"version": "v2.8.52",
"version_normalized": "2.8.52.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "a77e974a5fecb4398833b0709210e3d5e334ffb0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a77e974a5fecb4398833b0709210e3d5e334ffb0",
"reference": "a77e974a5fecb4398833b0709210e3d5e334ffb0",
"shasum": ""
},
"require": {
"php": ">=5.3.9"
},
"require-dev": {
"psr/log": "~1.0",
"symfony/config": "^2.0.5|~3.0.0",
"symfony/dependency-injection": "~2.6|~3.0.0",
"symfony/expression-language": "~2.6|~3.0.0",
"symfony/stopwatch": "~2.3|~3.0.0"
},
"suggest": {
"symfony/dependency-injection": "",
"symfony/http-kernel": ""
},
"time": "2018-11-21T14:20:20+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.8-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Symfony\\Component\\EventDispatcher\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.18.1",
@@ -2837,17 +2879,17 @@
},
{
"name": "twig/twig",
"version": "v2.13.1",
"version_normalized": "2.13.1.0",
"version": "v2.13.0",
"version_normalized": "2.13.0.0",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "57e96259776ddcacf1814885fc3950460c8e18ef"
"reference": "46a612ba1bbf6ee1c58acabacd868212ff8a2911"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/57e96259776ddcacf1814885fc3950460c8e18ef",
"reference": "57e96259776ddcacf1814885fc3950460c8e18ef",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/46a612ba1bbf6ee1c58acabacd868212ff8a2911",
"reference": "46a612ba1bbf6ee1c58acabacd868212ff8a2911",
"shasum": ""
},
"require": {
@@ -2859,7 +2901,7 @@
"psr/container": "^1.0",
"symfony/phpunit-bridge": "^4.4.9|^5.0.9"
},
"time": "2020-08-05T15:09:04+00:00",
"time": "2020-07-05T13:08:05+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -2902,6 +2944,18 @@
"templating"
],
"funding": [
{
"url": "https://certification.symfony.com/",
"type": "custom"
},
{
"url": "https://live.symfony.com/",
"type": "custom"
},
{
"url": "https://symfony.com/cloud/",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
-7
View File
@@ -1,7 +0,0 @@
nbproject/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
-43
View File
@@ -1,43 +0,0 @@
Unofficial repository for the tFPDF library
==
This is an unofficial repository for the [tFPDF-library](http://fpdf.org/fr/script/script92.php). The purpose is to be able to build automatic packages using [composer](http://packagist.org).
What is tFPDF?
--
tFPDF is a version of FPDF, which supports UTF-8 and font-subsetting.
What is FPDF?
--
FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.
FPDF has other advantages: high level functions. Here is a list of its main features:
* Choice of measure unit, page format and margins
* Page header and footer management
* Automatic page break
* Automatic line break and text justification
* Image support (JPEG, PNG and GIF)
* Colors
* Links
* TrueType, Type1 and encoding support
* Page compression
FPDF requires no extension (except zlib to activate compression and GD for GIF support). It works with PHP 4 and PHP 5 (the latest version requires at least PHP 4.3.10).
The tutorials will give you a quick start. The complete online documentation is here and download area is there. It is strongly advised to read the FAQ which lists the most common questions and issues.
A script section is available and provides some useful extensions (such as bookmarks, rotations, tables, barcodes...).
What languages can I use?
--
The class can produce documents in many languages other than the Western European ones: Central European, Cyrillic, Greek, Baltic and Thai, provided you own TrueType or Type1 fonts with the desired character set. Chinese, Japanese and Korean are supported too. UTF-8 support is also available.
What about performance?
--
Of course, the generation speed of the document is less than with PDFlib. However, the performance penalty keeps very reasonable and suits in most cases, unless your documents are particularly complex or heavy.
-17
View File
@@ -1,17 +0,0 @@
{
"name": "rev42/tFPDF",
"description": "tFPDF",
"keywords": ["pdf"],
"homepage": "http://fpdf.org/fr/script/script92.php",
"type": "library",
"license": "LGPL",
"authors": [
{
"name": "Ian Back",
"email": "ianb@bpm1.com"
}
],
"autoload": {
"psr-0": { "tFPDF": "src/" }
}
}
@@ -1,6 +0,0 @@
Anglais : Hello World
Grec : Γειά σου κόσμος
Polonais : Witaj świecie
Portuguais : Olá mundo
Russe : Здравствулте мир
Vietnamien : Xin chào thế giới
-15
View File
@@ -1,15 +0,0 @@
tFPDF accepts UTF-8 encoded text. It embeds font subsets allowing small PDF files.
It requires a folder 'unifont' as a subfolder of the 'font' folder.
You should make the 'unifont' folder writeable (CHMOD 755 or 644). Although this
is not essential, it allows caching of the font metrics the first time a font is used,
making subsequent uses much faster.
All tFPDF requires is a .ttf TrueType font file. The file should be placed in the
'unifont' directory. Optionally, you can also define the path to your system fonts e.g. 'C:\Windows\Font'
(see the example ex.php file) and reference TrueType fonts in this directory.
Pass a fourth parameter as true when calling AddFont(), and use utf-8 encoded text
when using Write() etc.
Binary file not shown.
-26
View File
@@ -1,26 +0,0 @@
<?php
// Définition facultative du répertoire des polices systèmes
// Sinon tFPDF utilise le répertoire [chemin vers tFPDF]/font/unifont/
// define("_SYSTEM_TTFONTS", "C:/Windows/Fonts/");
require('tfpdf.php');
$pdf = new tFPDF();
$pdf->AddPage();
// Ajoute une police Unicode (utilise UTF-8)
$pdf->AddFont('DejaVu','','DejaVuSansCondensed.ttf',true);
$pdf->SetFont('DejaVu','',14);
// Charge une chaîne UTF-8 à partir d'un fichier
$txt = file_get_contents('HelloWorld.txt');
$pdf->Write(8,$txt);
// Sélectionne une police standard (utilise windows-1252)
$pdf->SetFont('Arial','',14);
$pdf->Ln(10);
$pdf->Write(5,"La taille de ce PDF n'est que de 12 ko.");
$pdf->Output();
?>
@@ -1,8 +0,0 @@
<?php
$type = 'Core';
$name = 'Courier';
$up = -100;
$ut = 50;
for($i=0;$i<=255;$i++)
$cw[chr($i)] = 600;
?>
@@ -1,8 +0,0 @@
<?php
$type = 'Core';
$name = 'Courier-Bold';
$up = -100;
$ut = 50;
for($i=0;$i<=255;$i++)
$cw[chr($i)] = 600;
?>
@@ -1,8 +0,0 @@
<?php
$type = 'Core';
$name = 'Courier-BoldOblique';
$up = -100;
$ut = 50;
for($i=0;$i<=255;$i++)
$cw[chr($i)] = 600;
?>
@@ -1,8 +0,0 @@
<?php
$type = 'Core';
$name = 'Courier-Oblique';
$up = -100;
$ut = 50;
for($i=0;$i<=255;$i++)
$cw[chr($i)] = 600;
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Helvetica';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667,
'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833,
'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Helvetica-Bold';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722,
'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889,
'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611,
chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Helvetica-BoldOblique';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722,
'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889,
'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611,
chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Helvetica-Oblique';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667,
'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833,
'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Symbol';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549,
','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722,
'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768,
'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576,
'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0,
chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0,
chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603,
chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768,
chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042,
chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329,
chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0);
?>
-19
View File
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Times-Roman';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564,
','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722,
'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944,
'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778,
'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980,
chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333,
chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500,
chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Times-Bold';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722,
'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000,
'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833,
'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333,
chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Times-BoldItalic';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667,
'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889,
'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778,
'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333,
chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444);
?>
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'Times-Italic';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675,
','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611,
'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833,
'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722,
'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980,
chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333,
chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611,
chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500,
chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444);
?>
@@ -1,99 +0,0 @@
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
Bitstream Vera Fonts Copyright
------------------------------
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the fonts accompanying this license ("Fonts") and associated
documentation files (the "Font Software"), to reproduce and distribute the
Font Software, including without limitation the rights to use, copy, merge,
publish, distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to the
following conditions:
The above copyright and trademark notices and this permission notice shall
be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular
the designs of glyphs or characters in the Fonts may be modified and
additional glyphs or characters may be added to the Fonts, only if the fonts
are renamed to names not containing either the words "Bitstream" or the word
"Vera".
This License becomes null and void to the extent applicable to Fonts or Font
Software that has been modified and is distributed under the "Bitstream
Vera" names.
The Font Software may be sold as part of a larger software package but no
copy of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
FONT SOFTWARE.
Except as contained in this notice, the names of Gnome, the Gnome
Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font Software
without prior written authorization from the Gnome Foundation or Bitstream
Inc., respectively. For further information, contact: fonts at gnome dot
org.
Arev Fonts Copyright
------------------------------
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the fonts accompanying this license ("Fonts") and
associated documentation files (the "Font Software"), to reproduce
and distribute the modifications to the Bitstream Vera Font Software,
including without limitation the rights to use, copy, merge, publish,
distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to
the following conditions:
The above copyright and trademark notices and this permission notice
shall be included in all copies of one or more of the Font Software
typefaces.
The Font Software may be modified, altered, or added to, and in
particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or characters may be added to the
Fonts, only if the fonts are renamed to names not containing either
the words "Tavmjong Bah" or the word "Arev".
This License becomes null and void to the extent applicable to Fonts
or Font Software that has been modified and is distributed under the
"Tavmjong Bah Arev" names.
The Font Software may be sold as part of a larger software package but
no copy of one or more of the Font Software typefaces may be sold by
itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the name of Tavmjong Bah shall not
be used in advertising or otherwise to promote the sale, use or other
dealings in this Font Software without prior written authorization
from Tavmjong Bah. For further information, contact: tavmjong @ free
. fr.
$Id: LICENSE 2133 2007-11-28 02:46:28Z lechimp $
File diff suppressed because it is too large. Load diff
@@ -1,19 +0,0 @@
<?php
$type = 'Core';
$name = 'ZapfDingbats';
$up = -100;
$ut = 50;
$cw = array(
chr(0)=>0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0,
chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939,
','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692,
'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776,
'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873,
'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317,
chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0,
chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788,
chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788,
chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918,
chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874,
chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0);
?>
-32
View File
@@ -1,32 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>tFPDF</title>
<style type="text/css">
body {font-family:"Times New Roman",serif}
h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
</style>
</head>
<body>
<h1>tFPDF</h1>
<h2>Informations</h2>
Auteur : <a href="mailto:ian@bpm1.com?subject=tFPDF">Ian Back</a><br>
Licence : LGPL
<h2>Description</h2>
Cette classe est une version modifiée de FPDF qui ajoute le support de l'UTF-8. De plus, elle
incorpore dans le document uniquement les portions des polices qui sont effectivement utilisées,
réduisant ainsi la taille du fichier PDF. Ces fonctionnalités ont été développées à l'origine
pour le projet <a href="http://www.mpdf1.com/mpdf/" target="_blank">mPDF</a>.<br>
<br>
Pour utiliser une police Unicode dans votre script, passez le nom du fichier de police comme
troisième paramètre à <code>AddFont()</code> et <code>true</code> comme quatrième paramètre.
La police peut être située soit dans le répertoire font/unifont, soit directement dans le
répertoire des polices systèmes (dans le cas où la constante <code>_SYSTEM_TTFONTS</code>
a été définie). La famille de polices <a href="http://dejavu-fonts.org" target="_blank">DejaVu</a>
est fournie dans l'archive.<br>
<br>
<strong>Note :</strong> cette classe requiert l'extension mbstring.
</body>
</html>
File diff suppressed because it is too large. Load diff
-149
View File
@@ -1,155 +1,6 @@
CHANGELOG
=========
2.10.0 (2019-12-12)
-------------------
* PHP 5.6 or greater is now required.
* The `network` property was added to `GeoIp2\Record\Traits`,
`GeoIp2\Model\AnonymousIp`, `GeoIp2\Model\Asn`,
`GeoIp2\Model\ConnectionType`, `Geoip2\Model\Domain`,
and `GeoIp2\Model\Isp`. This is a string in CIDR format representing the
largest network where all of the properties besides `ipAddress` have the
same value.
* Updated documentation of anonymizer properties - `isAnonymousVpn`
and `isHostingProvider` - to be more descriptive.
* The `userCount` property was added to `GeoIp2\Record\Traits`. This is an
integer which indicates the estimated number of users sharing the
IP/network during the past 24 hours. This output is available from GeoIP2
Precision Insights.
* The `staticIpScore` property was added to `GeoIp2\Record\Traits`. This is
a float which indicates how static or dynamic an IP address is. This
output is available from GeoIP2 Precision Insights.
2.9.0 (2018-04-10)
------------------
* Refer to account IDs using the terminology "account" rather than "user".
2.8.0 (2018-01-18)
------------------
* The `isInEuropeanUnion` property was added to `GeoIp2\Record\Country`
and `GeoIp2\Record\RepresentedCountry`. This property is `true` if the
country is a member state of the European Union.
2.7.0 (2017-10-27)
------------------
* The following new anonymizer properties were added to `GeoIp2\Record\Traits`
for use with GeoIP2 Precision Insights: `isAnonymous`, `isAnonymousVpn`,
`isHostingProvider`, `isPublicProxy`, and `isTorExitNode`.
2.6.0 (2017-07-10)
-----------------
* Code clean-up and tidying.
* Set minimum required PHP version to 5.4 in `composer.json`. Previously,
5.3 would work but was not tested. Now 5.4 is hard minimum version.
2.5.0 (2017-05-08)
------------------
* Support for PHP 5.3 was dropped.
* Added support for GeoLite2 ASN database.
2.4.5 (2017-01-31)
------------------
* Additional error checking on the data returned from `MaxMind\Db\Reader`
was added to help detect corrupt databases. GitHub #83.
2.4.4 (2016-10-11)
------------------
* `isset()` on `mostSpecificSubdivision` attribute now returns the
correct value. Reported by Juan Francisco Giordana. GitHub #81.
2.4.3 (2016-10-11)
------------------
* `isset()` on `name` attribute now returns the correct value. Reported by
Juan Francisco Giordana. GitHub #79.
2.4.2 (2016-08-17)
------------------
* Updated documentation to clarify what the accuracy radius refers to.
* Upgraded `maxmind/web-service-common` to 0.3.0. This version uses
`composer/ca-bundle` rather than our own CA bundle. GitHub #75.
* Improved PHP documentation generation.
2.4.1 (2016-06-10)
------------------
* Corrected type annotations in documentation. GitHub #66.
* Updated documentation to reflect that the accuracy radius is now included
in City.
* Upgraded web service client, which supports setting a proxy. GitHub #59.
2.4.0 (2016-04-15)
------------------
* Added support for the GeoIP2 Enterprise database.
2.3.3 (2015-09-24)
------------------
* Corrected case on `JsonSerializable` interface. Reported by Axel Etcheverry.
GitHub #56.
2.3.2 (2015-09-23)
------------------
* `JsonSerializable` compatibility interface was moved to `GeoIp2\Compat`
rather than the global namespace to prevent autoloading issues. Reported by
Tomas Buteler. GitHub #54.
* Missing documentation for the `$postal` property was added to the
`GeoIp2\Model\City` class. Fix by Roy Sindre Norangshol. GitHub #51.
* In the Phar distribution, source files for this module no longer have their
documentation stripped, allowing IDE introspection to work properly.
Reported by Dominic Black. GitHub #52.
2.3.1 (2015-06-30)
------------------
* Updated `maxmind/web-service-common` to version with fixes for PHP 5.3 and
5.4.
2.3.0 (2015-06-29)
------------------
* Support for demographics fields `averageIncome` and `populationDensity` in
the `Location` record, returned by the Insights endpoint.
* The `isAnonymousProxy` and `isSatelliteProvider` properties on
`GeoIP2\Record\Traits` have been deprecated. Please use our [GeoIP2
Anonymous IP database](https://www.maxmind.com/en/geoip2-anonymous-ip-database)
to determine whether an IP address is used by an anonymizing service.
2.2.0-beta1 (2015-06-09)
------------------------
* Typo fix in documentation.
2.2.0-alpha2 (2015-06-01)
-------------------------
* `maxmind-ws/web-service-common` was renamed to `maxmind/web-service-common`.
2.2.0-alpha1 (2015-05-22)
-------------------------
* The library no longer uses Guzzle and instead uses curl directly.
* Support for `timeout` and `connectTimout` were added to the `$options` array
passed to the `GeoIp2\WebService\Client` constructor. Pull request by Will
Bradley. GitHub #36.
2.1.1 (2014-12-03)
------------------
* The 2.1.0 Phar builds included a shebang line, causing issues when loading
it as a library. This has been corrected. GitHub #33.
2.1.0 (2014-10-29)
------------------
+29 -110
View File
@@ -2,15 +2,14 @@
## Description ##
This package provides an API for the GeoIP2
[web services](https://dev.maxmind.com/geoip/geoip2/web-services) and
[databases](https://dev.maxmind.com/geoip/geoip2/downloadable). The API also
works with the free
[GeoLite2 databases](https://dev.maxmind.com/geoip/geoip2/geolite2/).
This package provides an API for the GeoIP2 [web services]
(http://dev.maxmind.com/geoip/geoip2/web-services) and [databases]
(http://dev.maxmind.com/geoip/geoip2/downloadable). The API also works with
the free [GeoLite2 databases](http://dev.maxmind.com/geoip/geoip2/geolite2/).
## Install via Composer ##
We recommend installing this package with [Composer](https://getcomposer.org/).
We recommend installing this package with [Composer](http://getcomposer.org/).
### Download Composer ###
@@ -46,31 +45,10 @@ require 'vendor/autoload.php';
## Install via Phar ##
Although we strongly recommend using Composer, we also provide a
[phar archive](https://php.net/manual/en/book.phar.php) containing most of the
[phar archive](http://php.net/manual/en/book.phar.php) containing all of the
dependencies for GeoIP2. Our latest phar archive is available on
[our releases page](https://github.com/maxmind/GeoIP2-php/releases).
### Install Dependencies ###
In order to use the phar archive, you must have the PHP
[Phar extension](https://php.net/manual/en/book.phar.php) installed and
enabled.
If you will be making web service requests, you must have the PHP
[cURL extension](https://php.net/manual/en/book.curl.php)
installed to use this archive. For Debian based distributions, this can
typically be found in the the `php-curl` package. For other operating
systems, please consult the relevant documentation. After installing the
extension you may need to restart your web server.
If you are missing this extension, you will see errors like the following:
```
PHP Fatal error: Uncaught Error: Call to undefined function MaxMind\WebService\curl_version()
```
### Require Package ###
To use the archive, just require it from your script:
```php
@@ -86,12 +64,6 @@ follow the instructions included with that API.
The extension has no effect on web-service lookups.
## IP Geolocation Usage ##
IP geolocation is inherently imprecise. Locations are often near the center of
the population. Any location provided by a GeoIP2 database or web service
should not be used to identify a particular address or household.
## Database Reader ##
### Usage ###
@@ -140,11 +112,9 @@ print($record->postal->code . "\n"); // '55455'
print($record->location->latitude . "\n"); // 44.9733
print($record->location->longitude . "\n"); // -93.2323
print($record->traits->network . "\n"); // '128.101.101.101/32'
```
### Anonymous IP Example ###
### Anonymoous-IP Example ###
```php
<?php
@@ -159,7 +129,6 @@ $record = $reader->anonymousIp('128.101.101.101');
if ($record->isAnonymous) { print "anon\n"; }
print($record->ipAddress . "\n"); // '128.101.101.101'
print($record->network . "\n"); // '128.101.101.101/32'
```
@@ -178,7 +147,6 @@ $record = $reader->connectionType('128.101.101.101');
print($record->connectionType . "\n"); // 'Corporate'
print($record->ipAddress . "\n"); // '128.101.101.101'
print($record->network . "\n"); // '128.101.101.101/32'
```
@@ -197,43 +165,6 @@ $record = $reader->domain('128.101.101.101');
print($record->domain . "\n"); // 'umn.edu'
print($record->ipAddress . "\n"); // '128.101.101.101'
print($record->network . "\n"); // '128.101.101.101/32'
```
### Enterprise Example ###
```php
<?php
require_once 'vendor/autoload.php';
use GeoIp2\Database\Reader;
// This creates the Reader object, which should be reused across
// lookups.
$reader = new Reader('/usr/local/share/GeoIP/GeoIP2-Enterprise.mmdb');
// Use the ->enterprise method to do a lookup in the Enterprise database
$record = $reader->enterprise('128.101.101.101');
print($record->country->confidence . "\n"); // 99
print($record->country->isoCode . "\n"); // 'US'
print($record->country->name . "\n"); // 'United States'
print($record->country->names['zh-CN'] . "\n"); // '美国'
print($record->mostSpecificSubdivision->confidence . "\n"); // 77
print($record->mostSpecificSubdivision->name . "\n"); // 'Minnesota'
print($record->mostSpecificSubdivision->isoCode . "\n"); // 'MN'
print($record->city->confidence . "\n"); // 60
print($record->city->name . "\n"); // 'Minneapolis'
print($record->postal->code . "\n"); // '55455'
print($record->location->accuracyRadius . "\n"); // 50
print($record->location->latitude . "\n"); // 44.9733
print($record->location->longitude . "\n"); // -93.2323
print($record->traits->network . "\n"); // '128.101.101.101/32'
```
@@ -256,7 +187,6 @@ print($record->isp . "\n"); // 'University of Minnesota'
print($record->organization . "\n"); // 'University of Minnesota'
print($record->ipAddress . "\n"); // '128.101.101.101'
print($record->network . "\n"); // '128.101.101.101/32'
```
@@ -265,7 +195,7 @@ print($record->network . "\n"); // '128.101.101.101/32'
### Usage ###
To use this API, you must create a new `\GeoIp2\WebService\Client`
object with your `$accountId` and `$licenseKey`, then you call the method
object with your `$userId` and `$licenseKey`, then you call the method
corresponding to a specific end point, passing it the IP address you want to
look up.
@@ -285,7 +215,7 @@ require_once 'vendor/autoload.php';
use GeoIp2\WebService\Client;
// This creates a Client object that can be reused across requests.
// Replace "42" with your account ID and "license_key" with your license
// Replace "42" with your user ID and "license_key" with your license
// key.
$client = new Client(42, 'abcdef123456');
@@ -307,24 +237,8 @@ print($record->postal->code . "\n"); // '55455'
print($record->location->latitude . "\n"); // 44.9733
print($record->location->longitude . "\n"); // -93.2323
print($record->traits->network . "\n"); // '128.101.101.101/32'
```
## Values to use for Database or Array Keys ##
**We strongly discourage you from using a value from any `names` property as
a key in a database or array.**
These names may change between releases. Instead we recommend using one of the
following:
* `GeoIp2\Record\City` - `$city->geonameId`
* `GeoIp2\Record\Continent` - `$continent->code` or `$continent->geonameId`
* `GeoIp2\Record\Country` and `GeoIp2\Record\RepresentedCountry` -
`$country->isoCode` or `$country->geonameId`
* `GeoIp2\Record\Subdivision` - `$subdivision->isoCode` or `$subdivision->geonameId`
### What data is returned? ###
While many of the end points return the same basic records, the attributes
@@ -336,7 +250,7 @@ Because of these factors, it is possible for any end point to return a record
where some or all of the attributes are unpopulated.
See the
[GeoIP2 Precision web service docs](https://dev.maxmind.com/geoip/geoip2/web-services)
[GeoIP2 Precision web service docs](http://dev.maxmind.com/geoip/geoip2/web-services)
for details on what data each end point may return.
The only piece of data which is always returned is the `ipAddress`
@@ -344,7 +258,7 @@ attribute in the `GeoIp2\Record\Traits` record.
## Integration with GeoNames ##
[GeoNames](https://www.geonames.org/) offers web services and downloadable
[GeoNames](http://www.geonames.org/) offers web services and downloadable
databases with data on geographical features around the world, including
populated places. They offer both free and paid premium data. Each
feature is unique identified by a `geonameId`, which is an integer.
@@ -361,10 +275,10 @@ the GeoNames premium data set.
If the problem you find is that an IP address is incorrectly mapped,
please
[submit your correction to MaxMind](https://www.maxmind.com/en/correction).
[submit your correction to MaxMind](http://www.maxmind.com/en/correction).
If you find some other sort of mistake, like an incorrect spelling,
please check the [GeoNames site](https://www.geonames.org/) first. Once
please check the [GeoNames site](http://www.geonames.org/) first. Once
you've searched for a place and found it on the GeoNames map view, there
are a number of links you can use to correct data ("move", "edit",
"alternate names", etc.). Once the correction is part of the GeoNames
@@ -373,7 +287,7 @@ releases.
If you are a paying MaxMind customer and you're not sure where to submit
a correction, please
[contact MaxMind support](https://www.maxmind.com/en/support) for help.
[contact MaxMind support](http://www.maxmind.com/en/support) for help.
## Other Support ##
@@ -382,28 +296,33 @@ Please report all issues with this code using the
If you are having an issue with a MaxMind service that is not specific
to the client API, please see
[our support page](https://www.maxmind.com/en/support).
[our support page](http://www.maxmind.com/en/support).
## Requirements ##
This library requires PHP 5.6 or greater.
This code requires PHP 5.3 or greater. Older versions of PHP are not
supported.
This library also relies on the [MaxMind DB Reader](https://github.com/maxmind/MaxMind-DB-Reader-php).
This library works and is tested with HHVM.
This library also relies on the [Guzzle HTTP client](http://guzzlephp.org/)
and the [MaxMind DB Reader](https://github.com/maxmind/MaxMind-DB-Reader-php).
If you are using PHP 5.3 with an autoloader besides Composer, you must load
`JsonSerializable.php` in the `compat` directory.
## Contributing ##
Patches and pull requests are encouraged. All code should follow the PSR-2
style guidelines. Please include unit tests whenever possible. You may obtain
the test data for the maxmind-db folder by running `git submodule update
--init --recursive` or adding `--recursive` to your initial clone, or from
https://github.com/maxmind/MaxMind-DB
Patches and pull requests are encouraged. All code should follow the
PSR-2 style guidelines. Please include unit tests whenever possible.
## Versioning ##
The GeoIP2 PHP API uses [Semantic Versioning](https://semver.org/).
The GeoIP2 PHP API uses [Semantic Versioning](http://semver.org/).
## Copyright and License ##
This software is Copyright (c) 2013-2019 by MaxMind, Inc.
This software is Copyright (c) 2014 by MaxMind, Inc.
This is free software, licensed under the Apache License, Version 2.0.
+9 -10
View File
@@ -9,23 +9,22 @@
{
"name": "Gregory J. Oschwald",
"email": "goschwald@maxmind.com",
"homepage": "https://www.maxmind.com/"
"homepage": "http://www.maxmind.com/"
}
],
"require": {
"maxmind-db/reader": "~1.5",
"maxmind/web-service-common": "~0.6",
"php": ">=5.6",
"ext-json": "*"
"guzzle/guzzle": "3.*",
"maxmind-db/reader": "~1.0",
"php": ">=5.3.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.*",
"phpunit/phpunit": "5.*",
"squizlabs/php_codesniffer": "3.*"
"phpunit/phpunit": "4.2.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-4": {
"GeoIp2\\": "src"
"psr-0": {
"GeoIp2": "src/",
"JsonSerializable": "compat/"
}
}
}
@@ -1,25 +0,0 @@
<?php
require __DIR__ . '/../vendor/autoload.php';
use GeoIp2\Database\Reader;
srand(0);
$reader = new Reader('GeoIP2-City.mmdb');
$count = 500000;
$startTime = microtime(true);
for ($i = 0; $i < $count; ++$i) {
$ip = long2ip(rand(0, pow(2, 32) - 1));
try {
$t = $reader->city($ip);
} catch (\GeoIp2\Exception\AddressNotFoundException $e) {
}
if ($i % 10000 === 0) {
echo $i . ' ' . $ip . "\n";
}
}
$endTime = microtime(true);
$duration = $endTime - $startTime;
echo 'Requests per second: ' . $count / $duration . "\n";
@@ -1,287 +0,0 @@
<?php
namespace GeoIp2\Database;
use GeoIp2\Exception\AddressNotFoundException;
use GeoIp2\ProviderInterface;
use MaxMind\Db\Reader as DbReader;
use MaxMind\Db\Reader\InvalidDatabaseException;
/**
* Instances of this class provide a reader for the GeoIP2 database format.
* IP addresses can be looked up using the database specific methods.
*
* ## Usage ##
*
* The basic API for this class is the same for every database. First, you
* create a reader object, specifying a file name. You then call the method
* corresponding to the specific database, passing it the IP address you want
* to look up.
*
* If the request succeeds, the method call will return a model class for
* the method you called. This model in turn contains multiple record classes,
* each of which represents part of the data returned by the database. If
* the database does not contain the requested information, the attributes
* on the record class will have a `null` value.
*
* If the address is not in the database, an
* {@link \GeoIp2\Exception\AddressNotFoundException} exception will be
* thrown. If an invalid IP address is passed to one of the methods, a
* SPL {@link \InvalidArgumentException} will be thrown. If the database is
* corrupt or invalid, a {@link \MaxMind\Db\Reader\InvalidDatabaseException}
* will be thrown.
*/
class Reader implements ProviderInterface
{
private $dbReader;
private $dbType;
private $locales;
/**
* Constructor.
*
* @param string $filename the path to the GeoIP2 database file
* @param array $locales list of locale codes to use in name property
* from most preferred to least preferred
*
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*/
public function __construct(
$filename,
$locales = ['en']
) {
$this->dbReader = new DbReader($filename);
$this->dbType = $this->dbReader->metadata()->databaseType;
$this->locales = $locales;
}
/**
* This method returns a GeoIP2 City model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\City
*/
public function city($ipAddress)
{
return $this->modelFor('City', 'City', $ipAddress);
}
/**
* This method returns a GeoIP2 Country model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\Country
*/
public function country($ipAddress)
{
return $this->modelFor('Country', 'Country', $ipAddress);
}
/**
* This method returns a GeoIP2 Anonymous IP model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\AnonymousIp
*/
public function anonymousIp($ipAddress)
{
return $this->flatModelFor(
'AnonymousIp',
'GeoIP2-Anonymous-IP',
$ipAddress
);
}
/**
* This method returns a GeoLite2 ASN model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\Asn
*/
public function asn($ipAddress)
{
return $this->flatModelFor(
'Asn',
'GeoLite2-ASN',
$ipAddress
);
}
/**
* This method returns a GeoIP2 Connection Type model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\ConnectionType
*/
public function connectionType($ipAddress)
{
return $this->flatModelFor(
'ConnectionType',
'GeoIP2-Connection-Type',
$ipAddress
);
}
/**
* This method returns a GeoIP2 Domain model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\Domain
*/
public function domain($ipAddress)
{
return $this->flatModelFor(
'Domain',
'GeoIP2-Domain',
$ipAddress
);
}
/**
* This method returns a GeoIP2 Enterprise model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\Enterprise
*/
public function enterprise($ipAddress)
{
return $this->modelFor('Enterprise', 'Enterprise', $ipAddress);
}
/**
* This method returns a GeoIP2 ISP model.
*
* @param string $ipAddress an IPv4 or IPv6 address as a string
*
* @throws \GeoIp2\Exception\AddressNotFoundException if the address is
* not in the database
* @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database
* is corrupt or invalid
*
* @return \GeoIp2\Model\Isp
*/
public function isp($ipAddress)
{
return $this->flatModelFor(
'Isp',
'GeoIP2-ISP',
$ipAddress
);
}
private function modelFor($class, $type, $ipAddress)
{
list($record, $prefixLen) = $this->getRecord($class, $type, $ipAddress);
$record['traits']['ip_address'] = $ipAddress;
$record['traits']['prefix_len'] = $prefixLen;
$class = 'GeoIp2\\Model\\' . $class;
return new $class($record, $this->locales);
}
private function flatModelFor($class, $type, $ipAddress)
{
list($record, $prefixLen) = $this->getRecord($class, $type, $ipAddress);
$record['ip_address'] = $ipAddress;
$record['prefix_len'] = $prefixLen;
$class = 'GeoIp2\\Model\\' . $class;
return new $class($record);
}
private function getRecord($class, $type, $ipAddress)
{
if (strpos($this->dbType, $type) === false) {
$method = lcfirst($class);
throw new \BadMethodCallException(
"The $method method cannot be used to open a {$this->dbType} database"
);
}
list($record, $prefixLen) = $this->dbReader->getWithPrefixLen($ipAddress);
if ($record === null) {
throw new AddressNotFoundException(
"The address $ipAddress is not in the database."
);
}
if (!\is_array($record)) {
// This can happen on corrupt databases. Generally,
// MaxMind\Db\Reader will throw a
// MaxMind\Db\Reader\InvalidDatabaseException, but occasionally
// the lookup may result in a record that looks valid but is not
// an array. This mostly happens when the user is ignoring all
// exceptions and the more frequent InvalidDatabaseException
// exceptions go unnoticed.
throw new InvalidDatabaseException(
"Expected an array when looking up $ipAddress but received: "
. \gettype($record)
);
}
return [$record, $prefixLen];
}
/**
* @throws \InvalidArgumentException if arguments are passed to the method
* @throws \BadMethodCallException if the database has been closed
*
* @return \MaxMind\Db\Reader\Metadata object for the database
*/
public function metadata()
{
return $this->dbReader->metadata();
}
/**
* Closes the GeoIP2 database and returns the resources to the system.
*/
public function close()
{
$this->dbReader->close();
}
}
Loaded 100 of 345 files, more files were not shown because too many files have changed in this diff. Show more