Skip to content

Commit 80406ee

Browse files
committed
Sync upstream (2.2)
1 parent e727281 commit 80406ee

File tree

178 files changed

+1118
-37841
lines changed

Some content is hidden

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

178 files changed

+1118
-37841
lines changed

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "october/october",
3-
"description": "Built using October CMS: The Platform That Gets Back to Basics",
3+
"description": "Built using October CMS: The Laravel-Based CMS Engineered For Simplicity",
44
"type": "project",
55
"homepage": "https://octobercms.com",
66
"license": "proprietary",
@@ -10,8 +10,7 @@
1010
"laravel/framework": "^6.0"
1111
},
1212
"require-dev": {
13-
"phpunit/phpunit": "^8.0|^9.0",
14-
"meyfa/phpunit-assert-gd": "^2.0.0|^3.0.0"
13+
"phpunit/phpunit": "^8.0|^9.0"
1514
},
1615
"scripts": {
1716
"post-root-package-install": [

config/session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
|
134134
| The session cookie path determines the path for which the cookie will
135135
| be regarded as available. Typically, this will be the root path of
136-
| your application but you are free to change this when necessary.
136+
| your application, but you are free to change this when necessary.
137137
|
138138
*/
139139

config/system.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -162,25 +162,6 @@
162162

163163
'convert_line_endings' => env('CONVERT_LINE_ENDINGS', false),
164164

165-
/*
166-
|--------------------------------------------------------------------------
167-
| Base Directory Restriction
168-
|--------------------------------------------------------------------------
169-
|
170-
| Restricts loading backend template and config files to within the base
171-
| directory of the application.
172-
|
173-
| Warning: This should always be enabled for security reasons. However, in
174-
| some cases you may need to disable this; for instance when developing
175-
| plugins that are stored elsewhere in the filesystem for organizational
176-
| reasons and then symlinked into the application plugins/ directory.
177-
|
178-
| Never have this disabled in production.
179-
|
180-
*/
181-
182-
'restrict_base_dir' => env('RESTRICT_BASE_DIR', true),
183-
184165
/*
185166
|--------------------------------------------------------------------------
186167
| Cookie Encryption

modules/backend/lang/en/lang.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@
410410
'extension' => 'The PHP extension :name is not installed. Please install this library and activate the extension.',
411411
'plugin_missing' => 'The plugin :name is a dependency but is not installed. Please install this plugin.',
412412
'debug' => 'Debug mode is enabled. This is not recommended for production installations.',
413+
'backend_uri' => 'The backend URL :name is too generic. Please set to something more unique.',
414+
'backend_login' => 'An account with a generic login :name was found. Please rename this administrator account.',
413415
],
414416
'editor' => [
415417
'menu_label' => 'Editor Settings',

modules/system/lang/en/lang.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,10 @@
516516
'folder_size_items' => 'item(s)',
517517
],
518518
'page' => [
519+
'not_found' => [
520+
'label' => 'Page Not Found',
521+
'help' => 'The requested page cannot be found.',
522+
],
519523
'custom_error' => [
520524
'label' => 'Page Error',
521525
'help' => "We're sorry, but something went wrong and the page cannot be displayed.",

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<env name="CMS_ROUTE_CACHE" value="true" />
2727
<env name="CMS_TWIG_CACHE" value="false" />
2828
<env name="PLUGINS_PATH" value="modules/system/tests/fixtures/plugins" />
29-
<env name="THEMES_PATH" value="modules/system/tests/fixtures/themes" />
29+
<env name="THEMES_PATH" value="modules/cms/tests/fixtures/themes" />
3030
<env name="ENABLE_CSRF" value="false" />
3131
<env name="DB_CONNECTION" value="sqlite" />
3232
<env name="DB_DATABASE" value=":memory:" />

0 commit comments

Comments
 (0)