Icy Phoenix


Post new topic  Reply to topic 
Page 1 of 1
Reply with quote Download Post 
Post I'm Stuck 
If I Google any more for this and don't have WP or Joomla - I'm going to go nuts - Or stay "Nuts"   notachance8zt

Code: [Download] [Hide] [Select]

What is the simplest of php scripts that can be added to an install script that already knows that config.php has what prefix is preferred- rather than write-to-file during install:

Example: config.php already includes,

Code: [Download] [Hide] [Select]
$table_prefix = "xx_";

 and is included during install,

I've tried so many different ways and maybe that's the problem, but the best I could end up with was changing it to something like:


I'm not asking that someone do it for me (unless I really get stuck) Just an example of any other script that you may know of besides phpBB, WP, joomla etc. should help.

Danke, Grazzie and thanks.  

mortSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
Reply with quote Download Post 
Post Re: I'm Stuck 
Sorry, but I don't understand what you need...

If you need a "default" prefix to be used in case you still don't have config.php you can add something like this after including your config.php:

Code: [Download] [Hide] [Select]
$table_prefix = empty($table_prefix) ? 'xx_' : $table_prefix;

Or you may even decide to use a constant in your constants.php:
Code: [Download] [Hide] [Select]
define('DEFAULT_TABLE_PREFIX', 'xx_');


SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: I'm Stuck 

I had another look at this today and got a bit further with it by seeing how you manipulate IP's install.

But I also found out that the rating script I use has to be hard-path-coded in the .js.

And while I managed to recode about half of the .js and still have it working - I stopped and asked myself why am I doing this?

But in the meantime, at least all of the tables SQL are now constants.


mortSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1

Display posts from previous:    

HideWas this topic useful?

Link this topic

Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events