Skip to content

Commit

Permalink
upgrade to php 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vzuburlis committed Feb 1, 2021
1 parent 3f95952 commit 6f4f490
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
21 changes: 6 additions & 15 deletions source/api-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ Config::amenu_child('item', ['Child Item','controller/action','icon'=>'item-icon
```


### config ()
(static) Gets the value of configuration element.
### get ()
(static) Gets the value of configuration/option element.

**Parameters**
- $key:string Index of the element.


### setConfig ()
(static) Sets the value of configuration element.
### set ()
(static) Sets the value of configuration/option element.

**Parameters**
- $key:string Index of the element.
Expand All @@ -125,20 +125,11 @@ Config::amenu_child('item', ['Child Item','controller/action','icon'=>'item-icon
- $pass:string The string to be hashed.


### getOption ()
(static) Gets an option value.
### getArray ()
(static) Gets an option value in array form if it was saved in json format.

**Parameters**
- string $option: Option name.
- string $default: (optional) The value to return if the option has not a saved value.


### setOption ()
(static) Sets an option value.

**Parameters**
- $option:string Option name.
- $default:string The value to set.


### dir ()
Expand Down
2 changes: 2 additions & 0 deletions source/api-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Return True or false.
**Parameters**
- $pri:string/Array The privilege(s) to check.

### permissions ()
(static) Get the list of the permissions for the current user.
6 changes: 3 additions & 3 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@

# General information about the project.
project = u'Gila CMS'
copyright = u'2017-2020, Vasileios Zoumpourlis'
copyright = u'2017-2021, Vasileios Zoumpourlis'
author = u'Vasileios Zoumpourlis'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'1.15'
version = u'2.0'
# The full version, including alpha/beta/rc tags.
release = u'1.15.0'
release = u'2.0.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 3 additions & 3 deletions source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Before beginning with installation make sure that your web host or local server

- Apache 2/ Nginx server
- MySQL / MariaDB server
- PHP 7.2+ with the following extensions *mysqli, zip, mysqlnd, json, gd, xml* and *mod_rewrite* enabled
- PHP 7.4+ with the following extensions *mysqli, mbstring, mysqlnd, json, gd, xml* and *mod_rewrite* enabled


First unzip gila in a public html folder e.g */var/www/html/gila* and make sure that the folder is writable from the application.
Expand All @@ -16,7 +16,7 @@ On **nginx** server you will need to configure the redirects in */etc/nginx/site
```
location / {
index index.php index.html index.htm;
rewrite gila/(?!install)(?!src)(?!themes)(?!assets)(?!tmp)(?!robots.txt)(.*)$ /gila/index.php?url=$1 last;
rewrite gila/(?!assets)(?!tmp)(?!robots.txt)(.*)$ /gila/index.php?p=$1 last;
}
```

Expand All @@ -35,7 +35,7 @@ If you need to activate mod_rewrite in Linux:
sudo a2enmod rewrite
```

Don't forget to restart your server if you made any changes.
Don't forget to restart your server when you make changes.

In order to proceed with the installation, you will need your **database settings**. If you do not know your database settings, please contact your host and ask for them. You will not be able to continue without them. More precisely you need the database hostname, the database name, the database username and password.
<br>
Expand Down

0 comments on commit 6f4f490

Please sign in to comment.