Skip to content

Instantly share code, notes, and snippets.

@JimMackin
JimMackin / fieldcheck.php
Created July 3, 2015 15:22
Small PHP script to highlight fields in SuiteCRM with no name.
<?php
$base = "/path/to/suitecrm";
$searchBase = $base.DIRECTORY_SEPARATOR."cache".DIRECTORY_SEPARATOR."modules";
$dirs = scandir($searchBase);
$GLOBALS["dictionary"] = array();
foreach($dirs as $dir){
$dir = $searchBase .DIRECTORY_SEPARATOR . $dir;
if($dir == '.' || $dir == '..' || !is_dir($dir)){
continue;