I use two salts to hash a password:
sha1(SALT . SALT2 . $password);
the second salt is unique for every user and stored in a database.
Why is it not secure?
I think you have to assume worst case: if they have access to your database, they have access to your web root. It might not be the case, but you should assume that.
Because it's stored in a database. If an attacker has access to the database with the hashed passwords she will likely have access to the database with the salt too.