Skip to content

Commit 7d9e0bb

Browse files
committed
Merge joomla-cms/staging into admin-menu-manager
2 parents 28a835b + 5d08c45 commit 7d9e0bb

File tree

727 files changed

+12087
-9805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

727 files changed

+12087
-9805
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Desktop.ini
6060
/libraries/vendor/ircmaxell/password-compat/phpunit.xml.dist
6161
/libraries/vendor/ircmaxell/password-compat/README.md
6262
/libraries/vendor/ircmaxell/password-compat/version-test.php
63+
/libraries/vendor/joomla/*/.github
6364
/libraries/vendor/joomla/*/.gitignore
6465
/libraries/vendor/joomla/*/.gitmodules
6566
/libraries/vendor/joomla/*/docs
@@ -70,6 +71,7 @@ Desktop.ini
7071
/libraries/vendor/joomla/*/composer.json
7172
/libraries/vendor/joomla/*/phpunit.xml.dist
7273
/libraries/vendor/joomla/*/README.md
74+
/libraries/vendor/joomla/session/Joomla/Session/.github
7375
/libraries/vendor/joomla/session/Joomla/Session/_Tests
7476
/libraries/vendor/joomla/session/Joomla/Session/build
7577
/libraries/vendor/joomla/session/Joomla/Session/Tests

administrator/components/com_admin/models/sysinfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public function &getInfo()
313313
'sapi_name' => php_sapi_name(),
314314
'version' => $version->getLongVersion(),
315315
'platform' => $platform->getLongVersion(),
316-
'useragent' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "",
316+
'useragent' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '',
317317
);
318318

319319
return $this->info;

administrator/components/com_admin/postinstall/languageaccess340.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function admin_postinstall_languageaccess340_condition()
2828
$query = $db->getQuery(true)
2929
->select($db->quoteName('access'))
3030
->from($db->quoteName('#__languages'))
31-
->where($db->quoteName('access') . " = " . $db->quote('0'));
31+
->where($db->quoteName('access') . ' = ' . $db->quote('0'));
3232
$db->setQuery($query);
3333
$db->execute();
3434
$numRows = $db->getNumRows();

administrator/components/com_admin/script.php

Lines changed: 38 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ protected function clearStatsCache()
112112
*/
113113
protected function updateDatabase()
114114
{
115-
$db = JFactory::getDbo();
116-
117-
if (strpos($db->name, 'mysql') !== false)
115+
if (JFactory::getDbo()->getServerType() === 'mysql')
118116
{
119117
$this->updateDatabaseMysql();
120118
}
@@ -208,7 +206,7 @@ protected function uninstallEosPlugin()
208206
*
209207
* @return void
210208
*
211-
* @since __DEPLOY_VERSION__
209+
* @since 3.7.0
212210
*/
213211
protected function removeJedUpdateserver()
214212
{
@@ -225,14 +223,14 @@ protected function removeJedUpdateserver()
225223
)->loadResult();
226224

227225
// Delete from update sites
228-
$result = $db->setQuery(
226+
$db->setQuery(
229227
$db->getQuery(true)
230228
->delete($db->quoteName('#__update_sites'))
231229
->where($db->quoteName('update_site_id') . ' = ' . $id)
232230
)->execute();
233231

234232
// Delete from update sites extensions
235-
$result = $db->setQuery(
233+
$db->setQuery(
236234
$db->getQuery(true)
237235
->delete($db->quoteName('#__update_sites_extensions'))
238236
->where($db->quoteName('update_site_id') . ' = ' . $id)
@@ -1551,7 +1549,7 @@ public function deleteUnexistingFiles()
15511549
// Joomla! 3.6.3
15521550
'/media/editors/codemirror/mode/jade/jade.js',
15531551
'/media/editors/codemirror/mode/jade/jade.min.js',
1554-
// Joomla __DEPLOY_VERSION__
1552+
// Joomla 3.7.0
15551553
'/libraries/joomla/user/authentication.php',
15561554
'/libraries/platform.php',
15571555
'/libraries/joomla/data/data.php',
@@ -1595,6 +1593,17 @@ public function deleteUnexistingFiles()
15951593
'/components/com_users/views/remind/metadata.xml',
15961594
'/components/com_users/views/reset/metadata.xml',
15971595
'/components/com_wrapper/metadata.xml',
1596+
'/administrator/components/com_cache/layouts/joomla/searchtools/default/bar.php',
1597+
'/administrator/components/com_cache/layouts/joomla/searchtools/default.php',
1598+
'/administrator/components/com_languages/layouts/joomla/searchtools/default/bar.php',
1599+
'/administrator/components/com_languages/layouts/joomla/searchtools/default.php',
1600+
'/administrator/components/com_menus/layouts/joomla/searchtools/default/bar.php',
1601+
'/administrator/components/com_menus/layouts/joomla/searchtools/default.php',
1602+
'/administrator/components/com_modules/layouts/joomla/searchtools/default/bar.php',
1603+
'/administrator/components/com_modules/layouts/joomla/searchtools/default.php',
1604+
'/administrator/components/com_templates/layouts/joomla/searchtools/default/bar.php',
1605+
'/administrator/components/com_templates/layouts/joomla/searchtools/default.php',
1606+
// Joomla __DEPLOY_VERSION__
15981607
'/administrator/modules/mod_menu/tmpl/default_enabled.php',
15991608
'/administrator/modules/mod_menu/tmpl/default_disabled.php',
16001609
'/administrator/templates/hathor/html/mod_menu/default_enabled.php',
@@ -1707,8 +1716,26 @@ public function deleteUnexistingFiles()
17071716
'/libraries/simplepie',
17081717
// Joomla! 3.6.3
17091718
'/media/editors/codemirror/mode/jade',
1710-
// Joomla! __DEPLOY_VERSION__
1719+
// Joomla! 3.7.0
17111720
'/libraries/joomla/data',
1721+
'/administrator/components/com_cache/layouts/joomla/searchtools/default',
1722+
'/administrator/components/com_cache/layouts/joomla/searchtools',
1723+
'/administrator/components/com_cache/layouts/joomla',
1724+
'/administrator/components/com_cache/layouts',
1725+
'/administrator/components/com_languages/layouts/joomla/searchtools/default',
1726+
'/administrator/components/com_languages/layouts/joomla/searchtools',
1727+
'/administrator/components/com_languages/layouts/joomla',
1728+
'/administrator/components/com_languages/layouts',
1729+
'/administrator/components/com_menus/layouts/joomla/searchtools/default',
1730+
'/administrator/components/com_menus/layouts/joomla/searchtools',
1731+
'/administrator/components/com_modules/layouts/joomla/searchtools/default',
1732+
'/administrator/components/com_modules/layouts/joomla/searchtools',
1733+
'/administrator/components/com_modules/layouts/joomla',
1734+
'/administrator/components/com_templates/layouts/joomla/searchtools/default',
1735+
'/administrator/components/com_templates/layouts/joomla/searchtools',
1736+
'/administrator/components/com_templates/layouts/joomla',
1737+
'/administrator/components/com_templates/layouts',
1738+
// Joomla! __DEPLOY_VERSION__
17121739
'/administrator/templates/hathor/html/mod_menu',
17131740
);
17141741

@@ -1845,12 +1872,10 @@ public function flushSessions()
18451872

18461873
try
18471874
{
1848-
switch ($db->name)
1875+
switch ($db->getServerType())
18491876
{
18501877
// MySQL database, use TRUNCATE (faster, more resilient)
1851-
case 'pdomysql':
18521878
case 'mysql':
1853-
case 'mysqli':
18541879
$db->truncateTable('#__session');
18551880
break;
18561881

@@ -1933,7 +1958,7 @@ public function convertTablesToUtf8mb4($doDbFixMsg = false)
19331958
}
19341959

19351960
// Step 1: Drop indexes later to be added again with column lengths limitations at step 2
1936-
$fileName1 = JPATH_ROOT . "/administrator/components/com_admin/sql/others/mysql/utf8mb4-conversion-01.sql";
1961+
$fileName1 = JPATH_ROOT . '/administrator/components/com_admin/sql/others/mysql/utf8mb4-conversion-01.sql';
19371962

19381963
if (is_file($fileName1))
19391964
{
@@ -1957,7 +1982,7 @@ public function convertTablesToUtf8mb4($doDbFixMsg = false)
19571982
}
19581983

19591984
// Step 2: Perform the index modifications and conversions
1960-
$fileName2 = JPATH_ROOT . "/administrator/components/com_admin/sql/others/mysql/utf8mb4-conversion-02.sql";
1985+
$fileName2 = JPATH_ROOT . '/administrator/components/com_admin/sql/others/mysql/utf8mb4-conversion-02.sql';
19611986

19621987
if (is_file($fileName2))
19631988
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ALTER TABLE `#__updates` ADD COLUMN `infourl` text NOT NULL AFTER `detailsurl`;
1+
ALTER TABLE `#__updates` ADD COLUMN `infourl` text NOT NULL AFTER `detailsurl`;

administrator/components/com_admin/sql/updates/mysql/3.7.0-2016-08-29.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ CREATE TABLE IF NOT EXISTS `#__fields` (
33
`asset_id` int(10) NOT NULL DEFAULT 0,
44
`context` varchar(255) NOT NULL DEFAULT '',
55
`group_id` int(10) NOT NULL DEFAULT 0,
6-
`assigned_cat_ids` varchar(255) NOT NULL DEFAULT '',
76
`title` varchar(255) NOT NULL DEFAULT '',
87
`alias` varchar(255) NOT NULL DEFAULT '',
98
`label` varchar(255) NOT NULL DEFAULT '',
@@ -38,6 +37,12 @@ CREATE TABLE IF NOT EXISTS `#__fields` (
3837
KEY `idx_language` (`language`)
3938
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
4039

40+
CREATE TABLE `#__fields_categories` (
41+
`field_id` int(11) NOT NULL DEFAULT 0,
42+
`category_id` int(11) NOT NULL DEFAULT 0,
43+
PRIMARY KEY (`field_id`,`category_id`)
44+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
45+
4146
CREATE TABLE IF NOT EXISTS `#__fields_groups` (
4247
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
4348
`asset_id` int(10) NOT NULL DEFAULT 0,

administrator/components/com_admin/sql/updates/postgresql/3.7.0-2016-08-29.sql

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ CREATE TABLE "#__fields" (
66
"asset_id" bigint DEFAULT 0 NOT NULL,
77
"context" varchar(255) DEFAULT '' NOT NULL,
88
"group_id" bigint DEFAULT 0 NOT NULL,
9-
"assigned_cat_ids" varchar(255) DEFAULT '' NOT NULL,
109
"title" varchar(255) DEFAULT '' NOT NULL,
1110
"alias" varchar(255) DEFAULT '' NOT NULL,
1211
"label" varchar(255) DEFAULT '' NOT NULL,
@@ -41,6 +40,15 @@ CREATE INDEX "#__fields_idx_access" ON "#__fields" ("access");
4140
CREATE INDEX "#__fields_idx_context" ON "#__fields" ("context");
4241
CREATE INDEX "#__fields_idx_language" ON "#__fields" ("language");
4342

43+
--
44+
-- Table: #__fields_categories
45+
--
46+
CREATE TABLE "#__fields_categories" (
47+
"field_id" bigint DEFAULT 0 NOT NULL,
48+
"category_id" bigint DEFAULT 0 NOT NULL,
49+
PRIMARY KEY ("field_id", "category_id")
50+
);
51+
4452
--
4553
-- Table: #__fields_groups
4654
--
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
ALTER TABLE "#__session" ALTER COLUMN "client_id" DROP NOT NULL;
2-
ALTER TABLE "#__session" ALTER COLUMN "client_id" SET DEFAULT NULL;
Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
/****** Object:  Table [#__fields] ******/
2+
3+
SET QUOTED_IDENTIFIER ON;
4+
5+
CREATE TABLE [#__fields] (
6+
[id] [int] IDENTITY(1,1) NOT NULL,
7+
[asset_id] [int] NOT NULL DEFAULT 0,
8+
[context] [nvarchar](255) NOT NULL DEFAULT '',
9+
[group_id] [int] NOT NULL DEFAULT 0,
10+
[title] [nvarchar](255) NOT NULL DEFAULT '',
11+
[alias] [nvarchar](255) NOT NULL DEFAULT '',
12+
[label] [nvarchar](255) NOT NULL DEFAULT '',
13+
[default_value] [nvarchar](max) NOT NULL DEFAULT '',
14+
[type] [nvarchar](255) NOT NULL DEFAULT '',
15+
[options] [nvarchar](255) NOT NULL DEFAULT '',
16+
[note] [nvarchar](255) NOT NULL DEFAULT '',
17+
[description] [nvarchar](max) NOT NULL DEFAULT '',
18+
[state] [smallint] NOT NULL DEFAULT 0,
19+
[required] [smallint] NOT NULL DEFAULT 0,
20+
[checked_out] [bigint] NOT NULL DEFAULT 0,
21+
[checked_out_time] [datetime] NOT NULL DEFAULT '1900-01-01 00:00:00',
22+
[ordering] [int] NOT NULL DEFAULT 0,
23+
[params] [nvarchar](max) NOT NULL DEFAULT '',
24+
[fieldparams] [nvarchar](max) NOT NULL DEFAULT '',
25+
[attributes] [nvarchar](max) NOT NULL DEFAULT '',
26+
[language] [nvarchar](7) NOT NULL DEFAULT '',
27+
[created_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
28+
[created_user_id] [bigint] NOT NULL DEFAULT 0,
29+
[created_by_alias] [nvarchar](255) NOT NULL DEFAULT '',
30+
[modified_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
31+
[modified_by] [bigint] NOT NULL DEFAULT 0,
32+
[publish_up] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
33+
[publish_down] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
34+
[access] [int] NOT NULL DEFAULT 1,
35+
CONSTRAINT [PK_#__fields_id] PRIMARY KEY CLUSTERED(
36+
[id] ASC)
37+
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON
38+
) ON [PRIMARY]) ON [PRIMARY];
39+
40+
CREATE NONCLUSTERED INDEX [idx_checkout] ON [#__fields](
41+
[checked_out] ASC)
42+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
43+
44+
CREATE NONCLUSTERED INDEX [idx_state] ON [#__fields](
45+
[state] ASC)
46+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
47+
48+
CREATE NONCLUSTERED INDEX [idx_access] ON [#__fields](
49+
[access] ASC)
50+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
51+
52+
CREATE NONCLUSTERED INDEX [idx_context] ON [#__fields](
53+
[context] ASC)
54+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
55+
56+
CREATE NONCLUSTERED INDEX [idx_language] ON [#__fields](
57+
[language] ASC)
58+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
59+
60+
/****** Object:  Table [#__fields_categories] ******/
61+
62+
SET QUOTED_IDENTIFIER ON;
63+
64+
CREATE TABLE [#__fields_categories] ( 
65+
[field_id] [int] NOT NULL DEFAULT 0,   
66+
[category_id] [int] NOT NULL DEFAULT 0,   
67+
CONSTRAINT [PK_#__fields_categories_id] PRIMARY KEY CLUSTERED(
68+
[field_id] ASC
69+
[category_id] ASC)
70+
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON
71+
) ON [PRIMARY]) ON [PRIMARY];
72+
73+
/****** Object: Table [#__fields_groups] ******/
74+
75+
SET QUOTED_IDENTIFIER ON;
76+
77+
CREATE TABLE [#__fields_groups] (
78+
[id] [int] IDENTITY(1,1) NOT NULL,
79+
[asset_id] [int] NOT NULL DEFAULT 0,
80+
[context] [nvarchar](255) NOT NULL DEFAULT '',
81+
[title] [nvarchar](255) NOT NULL DEFAULT '',
82+
[note] [nvarchar](255) NOT NULL DEFAULT '',
83+
[description] [nvarchar](max) NOT NULL DEFAULT '',
84+
[state] [smallint] NOT NULL DEFAULT 0,
85+
[checked_out] [bigint] NOT NULL DEFAULT 0,
86+
[checked_out_time] [datetime] NOT NULL DEFAULT '1900-01-01 00:00:00',
87+
[ordering] [int] NOT NULL DEFAULT 0,
88+
[language] [nvarchar](7) NOT NULL DEFAULT '',
89+
[created] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
90+
[created_by] [bigint] NOT NULL DEFAULT 0,
91+
[modified] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
92+
[modified_by] [bigint] NOT NULL DEFAULT 0,
93+
[access] [int] NOT NULL DEFAULT 1,
94+
CONSTRAINT [PK_#__fields_groups_id] PRIMARY KEY CLUSTERED(
95+
[id] ASC)
96+
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON
97+
) ON [PRIMARY]) ON [PRIMARY];
98+
99+
CREATE NONCLUSTERED INDEX [idx_checkout] ON [#__fields_groups](
100+
[checked_out] ASC)
101+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
102+
103+
CREATE NONCLUSTERED INDEX [idx_state] ON [#__fields_groups](
104+
[state] ASC)
105+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
106+
107+
CREATE NONCLUSTERED INDEX [idx_created_by] ON [#__fields_groups](
108+
[created_by] ASC)
109+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
110+
111+
CREATE NONCLUSTERED INDEX [idx_access] ON [#__fields_groups](
112+
[access] ASC)
113+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
114+
115+
CREATE NONCLUSTERED INDEX [idx_context] ON [#__fields_groups](
116+
[context] ASC)
117+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
118+
119+
CREATE NONCLUSTERED INDEX [idx_language] ON [#__fields_groups](
120+
[language] ASC)
121+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
122+
123+
/****** Object:  Table [#__fields_values] ******/
124+
125+
SET QUOTED_IDENTIFIER ON;
126+
127+
CREATE TABLE [#__fields_values] (
128+
[field_id] [bigint] NOT NULL DEFAULT 1,
129+
[context] [nvarchar](255) NOT NULL DEFAULT '',
130+
[item_id] [nvarchar](255) NOT NULL DEFAULT '',
131+
[value] [nvarchar](max) NOT NULL DEFAULT '',
132+
) ON [PRIMARY];
133+
134+
CREATE NONCLUSTERED INDEX [idx_field_id] ON [#__fields_values](
135+
[field_id] ASC)
136+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
137+
138+
CREATE NONCLUSTERED INDEX [idx_context] ON [#__fields_values](
139+
[context] ASC)
140+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
141+
142+
CREATE NONCLUSTERED INDEX [idx_item_id] ON [#__fields_values](
143+
[item_id] ASC)
144+
WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
145+
146+
SET IDENTITY_INSERT [#__extensions] ON;
147+
148+
INSERT INTO [#__extensions] ([extension_id], [name], [type], [element], [folder], [client_id], [enabled], [access], [protected], [manifest_cache], [params], [custom_data], [system_data], [checked_out], [checked_out_time], [ordering], [state])
149+
SELECT 33, 'com_fields', 'component', 'com_fields', '', 1, 1, 1, 0, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0
150+
UNION ALL
151+
SELECT 461, 'plg_system_fields', 'plugin', 'fields', 'system', 0, 1, 1, 0, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0
152+
UNION ALL
153+
SELECT 462, 'plg_fields_gallery', 'plugin', 'gallery', 'fields', 0, 1, 1, 0, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0;
154+
155+
SET IDENTITY_INSERT [#__extensions] OFF;

administrator/components/com_admin/views/sysinfo/view.json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function display($tpl = null)
3434
}
3535

3636
header('MIME-Version: 1.0');
37-
header('Content-Disposition: attachment; filename="systeminfo-' . date("c") . '.json"');
37+
header('Content-Disposition: attachment; filename="systeminfo-' . date('c') . '.json"');
3838
header('Content-Transfer-Encoding: binary');
3939

4040
$data = $this->getLayoutData();

0 commit comments

Comments
 (0)