Rename concrete core folder. Help ,please!

Permalink
Hi All:

I'm trying to rename 'concrete' core code folder, from concrete to concretex.
(I'm working on a sensitive website and think it's important to mask the cms I'm using).
I've changed few defines in concrete/config/base.php but that worked for everything except the login & dashboard pages :(
I'm getting this error when trying to access them:

Warning: View::include() [function.include]: Failed opening '' for inclusion (path\concrete5\concretex\libraries\view.php on line 738

setting the theme manually didn't fix the problem.

Any ideas?

BTW, I posted this question somewhere else but thought better to start a new discussion about it.

 
Mnkras replied on at Permalink Reply
Mnkras
what did you change in the base.php post it if you can i have it working fine
medhatmsm replied on at Permalink Reply
after changing the folder's name & it's path in dispatcher,I've changed the following in base.php:

define('DIRNAME_APP', 'concretex');

define('ASSETS_URL', ASSETS_URL_WEB . '/concretex');
define('ASSETS_URL_CSS', ASSETS_URL_WEB . '/concretex/css');
define('ASSETS_URL_JAVASCRIPT', ASSETS_URL_WEB . '/concretex/js');
define('ASSETS_URL_IMAGES', ASSETS_URL_WEB . '/concretex/images');
define('ASSETS_URL_FLASH', ASSETS_URL_WEB . '/concretex/flash');
Mnkras replied on at Permalink Reply
Mnkras
in the index.php did you change that also?
ryan replied on at Permalink Reply
ryan
If you're working with the 5.3.3.1 version, you may want to grab the 5.4 rc that will come out later today. In 5.4 we made the /concrete folder configurable and also the index file configurable.
Mnkras replied on at Permalink Reply
Mnkras
a tone of the index stuff is still broken though
medhatmsm replied on at Permalink Reply
@Mnkras: of course, I've changed dispatcher's path in index.php. actually, I meant path to dispatcher, not in dispatcher, in my previous reply :)

@ryan: what do you mean by 5.4 rc? is it a new release of c5? I didn't find anything related in the website!
mose replied on at Permalink Reply
mose
I'll have to check out the configurable names. That sounds cools.
medhatmsm replied on at Permalink Reply
Did any of you guys get that to work?

I was thinking of using mod_rewrite & htaccess file to work around that. DO you think it is possible?
crinte replied on at Permalink Reply
crinte
In reply to Ryan:
how do I configure them in 5.4?
Mnkras replied on at Permalink Best Answer Reply
Mnkras
#. File
what to change


1. index.php
require('concrete/dispatcher.php');


2. concrete/config/base_pre.php
define('DIRNAME_APP', 'concrete');


thats it :D then just rename the folder
ziniatis replied on at Permalink Reply
Hello, I upgraded to 5422 and tried to rename the concrete folder.

but the site either is not playing with the css template properly or does not play at all, saying error /updates/concrete5422 .... etc.

Also this method did not work for version 551.

any ideas also for 551?

thank you in advance.