Problem in FileData_class.php and another - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html) +--- Thread: Problem in FileData_class.php and another (/thread-388.html) |
Problem in FileData_class.php and another - kreml - 03-13-2011 hi! line 67 in FileData_class.php: ------------ databaseData::databaseData($id, $connection, `$database`); ------------ causes: ------------ Warning: shell_exec() has been disabled for security reasons in /home/www/.../FileData_class.php on line 67 ------------ After editing to: ------------ databaseData::databaseData($id, $connection, $database); ------------ is it OK. The same's true about files: Department_class.php User_class.php Kremlacek Re: Problem in FileData_class.php and another - Stephen - 03-15-2011 I added those backticks to help with db names that were hyphenated. Looks like PHP is interpreting those as a shell command. I have added this to our bug reporting system. <!-- m --><a class="postlink" href="http://www.logicalartsinc.com/mantis/view.php?id=362">http://www.logicalartsinc.com/mantis/view.php?id=362</a><!-- m --> |