Code Duplication    Length = 5-5 lines in 2 locations

install/cli-install.php 1 location

@@ 382-386 (lines=5) @@
379
380
//////////////////////////////////////////////////////////////////////////////////////
381
382
if (file_exists(dirname(__FILE__)."/../assets/cache/siteManager.php")) {
383
    include_once(dirname(__FILE__)."/../assets/cache/siteManager.php");
384
}else{
385
    define('MGR_DIR', 'manager');
386
}
387
388
389
$create = false;

install/instprocessor.php 1 location

@@ 2-6 (lines=5) @@
1
<?php
2
if (file_exists(dirname(__FILE__)."/../assets/cache/siteManager.php")) {
3
    include_once(dirname(__FILE__)."/../assets/cache/siteManager.php");
4
}else{
5
    define('MGR_DIR', 'manager');
6
}
7
8
global $moduleName;
9
global $moduleVersion;