mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
REVIEWED THE FILE INCLUSION POLICY
- includes are relative to the application root folder, aka APPROOT - changed the config file, while preserving the compatibility with older installs SVN:trunk[962]
This commit is contained in:
@@ -23,10 +23,10 @@
|
||||
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
|
||||
*/
|
||||
|
||||
require_once('../core/config.class.inc.php');
|
||||
require_once('../application/transaction.class.inc.php');
|
||||
require_once(APPROOT.'/core/config.class.inc.php');
|
||||
require_once(APPROOT.'/application/transaction.class.inc.php');
|
||||
|
||||
define('ITOP_CONFIG_FILE', '../config-itop.php');
|
||||
define('ITOP_CONFIG_FILE', APPROOT.'/config-itop.php');
|
||||
|
||||
class FileUploadException extends Exception
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user