2
0
forked from Wavyzz/dolibarr

NEW Performance enhancement: Replace dirname(__FILE__) with __DIR__

This commit is contained in:
Laurent Destailleur
2019-03-06 14:33:05 +01:00
parent d4409ffb08
commit 0c2a0c643b
7 changed files with 14 additions and 15 deletions

View File

@@ -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';