Hello,
I have a basic installation of phoenixcart version 1.0.8.18. Here I changed the folder name "admin" to for example "myadmin" and the index.php file in this folder to myindex.php
If I now log out of the admin via securely log off, I go back to mywebsite/myadmin/index.php, which of course is not found, instead of myadmin/myindex.php.
I can't find in which file I should now change index.php to myindex.php.
Is there someone who can tell me where, in which file I have to change it?
In the admin navigation bar this also had to be done for the logo on the left to go back to the (admin) home page. I found this in mywebsite/includes/hooks/admin/siteWide/hMenu.php
thank you in advance for this.
lucky piedro
Admin logoff
-
- Posts: 8
- Joined: Sun Apr 17, 2022 8:45 am
- Has thanked: 2 times
- Been thanked: 1 time
-
- Lead Developer
- Posts: 2439
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Admin logoff
Can you say why you want to change myadmin/index.php to myadmin/myindex.php ?
That seems like a waste of time in 99% of what I can think of as potential reasons to do so.
In any case:
https://github.com/CE-PhoenixCart/Phoen ... .php%27%29
will find some of those things that you will need to change. But it seems strange to want to do this.
That seems like a waste of time in 99% of what I can think of as potential reasons to do so.
In any case:
https://github.com/CE-PhoenixCart/Phoen ... .php%27%29
will find some of those things that you will need to change. But it seems strange to want to do this.
Gamechanger Addon: Queued Emails, try before you buy.
-
- Posts: 8
- Joined: Sun Apr 17, 2022 8:45 am
- Has thanked: 2 times
- Been thanked: 1 time
Re: Admin logoff
Hi Burt,
Thanks for your quick response.
The reason I wanted to do that is in addition to the recommendation to change the folder name admin for security reasons.
My idea was why not, as an extra measure, change the name of index.php, which is also known to everyone. Nothing more nothing less.
lucky piedro
Thanks for your quick response.
The reason I wanted to do that is in addition to the recommendation to change the folder name admin for security reasons.
My idea was why not, as an extra measure, change the name of index.php, which is also known to everyone. Nothing more nothing less.
lucky piedro
-
- Lead Developer
- Posts: 2439
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Admin logoff
Personally, I would not bother for the following reason;
1. changing the admin folder name is enough
2. secure your admin using htaccess/htpasswd
but mainly;
3. you are changing core code, which means, for you, future updates will be more difficult
1. changing the admin folder name is enough
2. secure your admin using htaccess/htpasswd
but mainly;
3. you are changing core code, which means, for you, future updates will be more difficult
Gamechanger Addon: Queued Emails, try before you buy.
-
- Posts: 8
- Joined: Sun Apr 17, 2022 8:45 am
- Has thanked: 2 times
- Been thanked: 1 time
Re: Admin logoff
Hi Burt,
Thank you for your view on my action.
I completely agree with you, I had already done point 1 and 2 and about point 3 you are absolutely right, much better not to do that.
lucky piedro
Thank you for your view on my action.
I completely agree with you, I had already done point 1 and 2 and about point 3 you are absolutely right, much better not to do that.
lucky piedro