if (substr($config['webRoot'], -3) != $this->cameraObject->id . "/") {
               $config['webRoot'] .= $this->cameraObject->id . "/"; 
            }