This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

info2940
info2940

Hi. I want to know whether what I had done is the best solution or is there an easier way?

To put the same prefix on all database tables which are used by OctoberCMS, I changed the default setting of installer.php file in install_files/php folder before installing on browser. I mean, i replaced 'prefix' => $this->post('db_prefix', '') into 'prefix' => $this->post('db_prefix', '_pre') in getDatabaseConfigValues() function.

Then It worked. Every tables got "pre_". But what I want to know is, it there better way?

Edit: I corrected the code because '_' was missing in it.

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.