william blanc dit jolicoeur
|
Wednesday 14 May 2008 6:02:17 am
Hi , I wonder how to disable admin siteaccess.
On my project, I created a special backoffice siteaccess that uses the admin design. In the settings/override/site.ini.append.php , at the section [SiteSettings] I defined the SiteList[] with the front and back siteaccess I need. But the siteaccess "admin" is still reachable. Is there anyway to prevent this ? Thanks a lot William
|
Piotrek KaraĆ
|
Wednesday 14 May 2008 11:25:06 pm
William, It will be good to keep the database connection details in the siteaccess-dedicated site.ini files and not in the global override. This way, the admin siteaccess which you don't use will not be able to connect and become useless.
Good luck, Piotrek
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|
william blanc dit jolicoeur
|
Thursday 15 May 2008 2:06:16 am
Sorry, I just realized that the admin siteaccess was loaded because it was in the AvailableSiteAccessList[] in the original site.ini. I thought it was overrided by the site.ini.append.php in settings/override but there was no initial AvailableSiteAccessList[] in order to empty that array.
|