Skip to content

Commit

Permalink
Correction to Trongate_pages module.
Browse files Browse the repository at this point in the history
  • Loading branch information
trongate committed Sep 8, 2023
1 parent 20588f0 commit 1a3c832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/trongate_pages/controllers/Trongate_pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function manage(): void {
$token = $this->_make_sure_allowed();

// Check if the image folder exists and is writable
$folder_path = APPPATH.'modules/trongate_pages/assets/images';
$folder_path = APPPATH.'modules/trongate_pages/assets/images/uploads';
if (!is_writable($folder_path)) {
$data['view_module'] = 'trongate_pages';
$this->view('permissions_error', $data);
Expand Down
2 changes: 1 addition & 1 deletion modules/trongate_pages/views/permissions_error.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<body>
<div class="container">
<h1>Permissions Error <span class="xs">(don't panic!)</span></h1>
<p>The folder 'modules/trongate_pages/assets/images' is not writable. Please change the folder permissions to allow write access.</p>
<p>The folder 'modules/trongate_pages/assets/images/uploads' is not writable. Please change the folder permissions to allow write access.</p>
<h3>Mac Users</h3>
<ol>
<li>Open the Terminal app.</li>
Expand Down

0 comments on commit 1a3c832

Please sign in to comment.