Community Support for OpenDocMan (Deprecated)

Full Version: Problem in FileData_class.php and another
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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 -->