I have a custom Laravel config file called config/alfresco.php. The file is a special file to keep Alfresco config connection. Here is what it is look like:
<?php
/*
|--------------------------------------------------------------------------
| CMIS BROWSER URL
|--------------------------------------------------------------------------
|
| The address of Alfresco server
|
*/
// http://<another IP>:9080/alfresco/api/-default-/public/cmis/versions/1.1/browser
'CMIS_BROWSER_URL' => 'http://ift.tt/23HEyTE',
/*
|--------------------------------------------------------------------------
| CMIS BROWSER USER
|--------------------------------------------------------------------------
|
| Alfresco username credential
|
*/
'CMIS_BROWSER_USER' => 'admin',
I tried to get the config's value by calling the following:
Config::get('alfresco.CMIS_BROWSER_URL');
However, it seems always to return wrong value. In my case, it is:
http://<another IP>:9080/alfresco/api/-default-/public/cmis/versions/1.1/browser
Note that the value that is called is the one that is commented. I tried to get rid of it, but it still comes with the same result. I am sure that the value is only appear on this config.
My another attempt is to do:
php artisan cache:clear
And it came with no luck. Thanks in advance :)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire