@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | // BEGIN PHP |
3 | 3 | $websitekey = basename(__DIR__); |
4 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
5 | 5 | } // Load env if not already loaded |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
7 | 7 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
7 | 7 | ob_start(); |
8 | -if (! headers_sent()) { /* because file is included inline when in edit mode and we don't want warning */ |
|
8 | +if (!headers_sent()) { /* because file is included inline when in edit mode and we don't want warning */ |
|
9 | 9 | header('Cache-Control: max-age=3600, public, must-revalidate'); |
10 | 10 | header('Content-type: text/css'); |
11 | 11 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
7 | 7 | ob_start(); |
8 | -if (! headers_sent()) { /* because file is included inline when in edit mode and we don't want warning */ |
|
8 | +if (!headers_sent()) { /* because file is included inline when in edit mode and we don't want warning */ |
|
9 | 9 | header('Cache-Control: max-age=3600, public, must-revalidate'); |
10 | 10 | header('Content-type: text/css'); |
11 | 11 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php // BEGIN PHP |
2 | 2 | $websitekey = basename(__DIR__); |
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once __DIR__ . '/master.inc.php'; |
|
4 | 4 | } // Load env if not already loaded |
5 | 5 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/website.lib.php'; |
6 | 6 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/website.inc.php'; |
@@ -4211,7 +4211,7 @@ discard block |
||
4211 | 4211 | |
4212 | 4212 | if (!is_object($user)) { |
4213 | 4213 | include_once DOL_DOCUMENT_ROOT . '/user/class/user.class.php'; |
4214 | - $user = new User($db); // To avoid error during migration |
|
4214 | + $user = new User($db); // To avoid error during migration |
|
4215 | 4215 | } |
4216 | 4216 | |
4217 | 4217 | dolibarr_install_syslog("upgrade2::migrate_reload_modules force=" . $force . ", listofmodule=" . implode(',', array_keys($listofmodule))); |
@@ -5042,7 +5042,7 @@ discard block |
||
5042 | 5042 | $error++; |
5043 | 5043 | } |
5044 | 5044 | |
5045 | - $current_contract = $obj->cid; |
|
5045 | + $current_contract = $obj->cid; |
|
5046 | 5046 | } |
5047 | 5047 | } else { |
5048 | 5048 | $error++; |