update readme
This commit is contained in:
parent
67f77fa3fa
commit
9d04075c72
1 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@ Anyways, let's get to the *how*.
|
|||
if you have trouble displaying them in your database manager, let me know
|
||||
and I might get to writing some basic setup instructions here.
|
||||
- Please create the file `docs/common/config.php` which will store database
|
||||
credential that will then be used in `docs/common/header.php`
|
||||
credentials that will then be used in `docs/common/header.php`
|
||||
to connect to the db and set the global variable `$conn` to the PDO
|
||||
connection object, you can use that in your own functions, if you add any.
|
||||
- The file should define the following constants:
|
||||
|
@ -34,9 +34,11 @@ Anyways, let's get to the *how*.
|
|||
if you are going to make use of that function. Please note that it is
|
||||
meant for admin use only and normal users shouldn't have access to it
|
||||
as it is unprotected.
|
||||
- Also make sure that the folder /assets/uploads/ exists and php has write
|
||||
- Also make sure that the directory /assets/uploads/ exists and php has write
|
||||
permissions there - if you are going to use that file upload
|
||||
functionality, that is.
|
||||
- Php should also have write permissions in the docs/www/blog directory,
|
||||
so it can update the atom feed.
|
||||
- If you have problems connecting to the database, you can try
|
||||
printing the PDO exception being caught there in the function
|
||||
`attempt_sql_connect()`, but be careful not to leave it in production, as
|
||||
|
|
Loading…
Reference in a new issue