Home > CloudCrm-Codeignitor-Module

CloudCrm-Codeignitor-Module

CloudCrm-Codeignitor-Module is a project mainly written in PHP, it's free.

A module for Codeigntior

CloudCrm Codeignitor Module

In the Application config (not the module config) should put something like this.

/* -------------------------------------------------------------------------- Approved Users / Config For CloudCrm

*/ $url = str_ireplace('https://', '', $config['base_url']); $url = str_ireplace('/', '', $url); $url = explode('.', $url);

$config['ccrmdbprefix'] = $url[1] . '_'; $config['ccrmdomain'] = $url[1] . '.' . $url[2]; $config['ccrmtheme'] = 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/smoothness/jquery-ui.css'; $config['ccrmignoreprefix'] = array('www', 'blog', 'company', 'beta', 'alpha', 'charlie', 'peter'); $config['ccrmUsers'][] = array('email' => '[email protected]', 'domain' => 'spicer.' . $config['ccrmdomain']); $config['ccrmUsers'][] = array('email' => '[email protected]', 'domain' => 'dev.' . $config['ccrmdomain']); $config['ccrmUsers'][] = array('email' => '[email protected]', 'domain' => 'dev.' . $config['ccrmdomain']);

// Handle older config schemas if($config['ccrmdomain'] == 'elevationfit.com') $config['ccrmconfigspacer'] = '_'; else $config['ccrmconfigspacer'] = '';