[geeklog-devel] Another Updated Installer

Tony Bibbs tony at tonybibbs.com
Thu Jan 16 22:37:42 EST 2003


The directions can stay the same, I'm just suggesting that if the DB 
doesn't exist, try to create it.  Not a huge deal to me either way...

--Tony

Jason Whittenburg wrote:

>There are many a issue that I can see...
>
>1) User rights to create, the user account provided shouldn't have create
>or drop access for security reasons in the first place. :-)
>
>2) Trapping errors from mysql would require more code
>
>3) ISP's wouldn't want this... :-)
>
>Just my thoughts
>
>-Jason
>
>Tony Bibbs said:
>  
>
>>Related to this, do we want to check if the given DB exists and, if not,
>> try and create it?
>>
>>Can't imagine it's more than a few lines of code.
>>
>>--Tony
>>
>>Jason Whittenburg wrote:
>>    
>>
>>>Ok, I've updated the installer some more to add the following items:
>>>
>>>1) Added a search for mysqldump to correctly set up that variable,
>>>   it disables backups if it can't find mysqldump.
>>>2) Added addslashes() to the title and slogan variables.
>>>3) Added a datestamp to the display for versioning. :-)
>>>4) Added permission settings on /backup
>>>5) Added removal of /public_html/admin/install to the clean up
>>>   process
>>>
>>>Remeber the installer is for new installs only right now.  It has only
>>>been tested on linux but other unix system may work.  Windows will not
>>>work.  PEAR is required for the installer (the installer will try to
>>>find it if not in the include path).
>>>
>>>To use the installer run:
>>>
>>> lynx -source http://newsgeeks.com/go-geeklog | php -q
>>>
>>>or download the go-geeklog script and run it with PHP:
>>>
>>> php -q ./go-geeklog
>>>
>>>As always, please test and report back!
>>>
>>>-Jason
>>>
>>>
>>>_______________________________________________
>>>geeklog-devel mailing list
>>>geeklog-devel at lists.geeklog.net
>>>http://lists.geeklog.net/listinfo/geeklog-devel
>>>      
>>>
>>--
>>+-------------------+--------------------------------------------------+
>>|Tony Bibbs         |[R]egardless of what you may think of our penal   |
>>|tony at tonybibbs.com |system, the fact is that every man in jail is one |
>>|                   |less potential fisherman to clutter up your       |
>>|                   |favorite pool or pond. --Ed Zern                  |
>>
>>
>>+-------------------+--------------------------------------------------+
>>
>>_______________________________________________
>>geeklog-devel mailing list
>>geeklog-devel at lists.geeklog.net
>>http://lists.geeklog.net/listinfo/geeklog-devel
>>    
>>
>
>
>  
>






More information about the geeklog-devel mailing list