forked from Wavyzz/dolibarr
NEW Performance enhancement: Replace dirname(__FILE__) with __DIR__
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// BEGIN PHP File wrapper.php - DO NOT MODIFY - It is just a copy of wrapper.html sample.
|
||||
$websitekey=basename(dirname(__FILE__));
|
||||
$websitekey=basename(__DIR__);
|
||||
if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once './master.inc.php'; } // Load master if not already loaded
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user