Advertisement:

Author Topic: secureDirectory - what does that mean?  (Read 1063 times)

Offline Hexxer

  • Semi-Newbie
  • *
  • Posts: 11
secureDirectory - what does that mean?
« on: September 10, 2017, 02:44:10 AM »
Hi,

im imported my board for testing to SMF 2.1. It works ;)
But i see on every access or view into my protocolls into SMF/Admincenter
Code: [Select]
2: is_writable() expects parameter 1 to be a valid path, array give
Shows Line 1204
Code: [Select]
1199 function secureDirectory($path, $attachments = false)
1200 {
1201         if (empty($path))
1202                 return 'empty_path';
1203
1204         if (!is_writable($path))
1205                 return 'path_not_writable';

What is folder/file  "secureDirectory"

Regards

Offline albertlast

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 171
Re: secureDirectory - what does that mean?
« Reply #1 on: September 10, 2017, 08:37:21 AM »
The question should be how is calling secureDirectory,
with wrong parameters.

You should do a file scan and searching for secureDirectory to see where this function is called.