Change location of admin.css for CCounter
Posted: Thu Dec 03, 2015 3:38 am
CCounter is great nodoubt...
But if you are using specific code in your .htaccess file to hide file extension in url
e.g. your url in address bar is looking like instead of or then you may need some changes in your CCounter folders on your server.
otherwise after login to CCounter admin panel, you will see just admin.css file code instead of admin.php file.
SUGGESTION to this issue is :
1) Go to your CCounter/admin folder on server.
2) Create new folder with name : css
3) Move admin.css file in this new folder css
4) Open admin_header.inc.php file existing in admin folder
5) Make following changes (around line 60):
REPLACE :
TO
6) Save file
DONE !!!
But if you are using specific code in your .htaccess file to hide file extension in url
e.g. your url in address bar is looking like
Code: Select all
http://yourdomain.com/link
Code: Select all
http://yourdomain.com/link.php
Code: Select all
http://yourdomain.com/link.html
otherwise after login to CCounter admin panel, you will see just admin.css file code instead of admin.php file.
SUGGESTION to this issue is :
1) Go to your CCounter/admin folder on server.
2) Create new folder with name : css
3) Move admin.css file in this new folder css
4) Open admin_header.inc.php file existing in admin folder
5) Make following changes (around line 60):
REPLACE :
Code: Select all
<!-- Custom styles for this template -->
<link href="../admin/admin.css" rel="stylesheet">
Code: Select all
<!-- Custom styles for this template -->
<link href="../admin/css/admin.css" rel="stylesheet">
DONE !!!
