![]() |
Installing..
Hey, I got a problem again >.<
PHP Code:
PHP Code:
Database class is like this: PHP Code:
|
Looks right to me. What's it not doing?
|
The problem is that even if I write a database that doesn't exists, it gives me successful, and writes the config.php file. Which, it shouldn't.
It should only write it if the connecting with the database is successful. |
The problem, as you correctly stated, is this line:
PHP Code:
$this->connect() call from your class' __construct() method and call it after instantiating your class object, changing the current code to:PHP Code:
connect() function from private to public. |
Ah! Thanks! I'll try it asap :)
|
I got this:
Quote:
PHP Code:
Edit, ooops! Saw the error. Now: Quote:
|
| All times are GMT. The time now is 03:43 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0