You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: development/Makefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ BUILDDIR = _build
9
9
10
10
# User-friendly check for sphinx-build
11
11
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
12
-
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
12
+
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://sphinx-doc.org/)
Copy file name to clipboardExpand all lines: development/cli/getting_started.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Getting started
4
4
5
5
The command line interface (CLI) is a useful utility for phpBB administrators who have access to a shell (or SSH) on the server they run phpBB on, as well as for extension developers. It provides CLI commands for managing config values, extensions, running database migration, purging the cache, and more.
6
6
7
-
Most operating systems ship with a built in command line application. For Mac OS and Ubuntu it is called "Terminal" and for Windows it is called "Command Prompt". Third party software such as `PuTTY <http://www.putty.org>`_ and `iTerm <https://www.iterm2.com>`_ can also be used.
7
+
Most operating systems ship with a built in command line application. For Mac OS and Ubuntu it is called "Terminal" and for Windows it is called "Command Prompt". Third party software such as `PuTTY <https://www.putty.org>`_ and `iTerm <https://www.iterm2.com>`_ can also be used.
8
8
9
9
To use phpBB's CLI on a web server, you will need SSH access to your web server. You can find out from your web hosting company if they offer SSH access and how to log into your web server from the CLI.
10
10
@@ -61,7 +61,7 @@ General options
61
61
Common options that can be used with any of phpBB's CLI commands.
62
62
63
63
.. csv-table::
64
-
:header:"Option", "Usage"
64
+
:header: Option, Usage
65
65
:delim: |
66
66
67
67
``--help, -h`` | Display a help message
@@ -111,7 +111,7 @@ The phpBB CLI installer uses a YAML file populated with the data needed to confi
Copy file name to clipboardExpand all lines: development/db/dbal.rst
+41-46Lines changed: 41 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
Database Abstraction Layer
3
3
==========================
4
4
5
-
phpBB uses a **D**\ ata\ **B**\ ase **A**\ bstraction **L**\ ayer to access the database instead of directly calling e.g. `mysql_query <http://php.net/manual/en/function.mysql-query.php>`_ functions.
5
+
phpBB uses a **D**\ ata\ **B**\ ase **A**\ bstraction **L**\ ayer to access the database instead of directly calling e.g. `mysql_query <https://php.net/manual/en/function.mysql-query.php>`_ functions.
6
6
You usually access the :abbr:`DBAL(Database Abstraction Layer)` using the global variable ``$db``.
7
7
This variable is included from :class:`common.php` through :class:`includes/compatibility_globals.php`:
8
8
@@ -49,11 +49,10 @@ Example using :class:`config.php`:
49
49
// We do not need this any longer, unset for safety purposes
50
50
unset($dbpasswd);
51
51
52
-
Parameters
53
-
^^^^^^^^^^
52
+
.. rubric:: Parameters
54
53
55
54
.. csv-table::
56
-
:header:"Parameter", "Usage"
55
+
:header: Parameter, Usage
57
56
:delim: #
58
57
59
58
Host # The host of the database. |br| When using config.php you should use $dbhost instead.
@@ -115,10 +114,10 @@ Example:
115
114
// Now run the query...
116
115
$result = $db->sql_query($sql);
117
116
118
-
Parameters
119
-
^^^^^^^^^^
117
+
.. rubric:: Parameters
118
+
120
119
.. csv-table::
121
-
:header:"Parameter", "Usage"
120
+
:header: Parameter, Usage
122
121
:delim: #
123
122
124
123
Query Type # Type of query which needs to be created (SELECT, SELECT_DISTINCT)
Field # Name of the field that needs to be fetched.
@@ -438,11 +437,10 @@ sql_fetchrowset
438
437
---------------
439
438
Returns an array with the result of using the ``sql_fetchrow`` method on every row. Defined in the base driver.
440
439
440
+
.. rubric:: Parameters
441
441
442
-
Parameters
443
-
^^^^^^^^^^
444
442
.. csv-table::
445
-
:header:"Parameter", "Usage"
443
+
:header: Parameter, Usage
446
444
:delim: #
447
445
448
446
Result (Optional) # The result that is being evaluated. |br| This result comes from a call to the sql_query method. |br| If left empty the last result will be called.
Result (Optional) # The result that is being evaluated. |br| The result comes from a call to the sql_query method. |br| If left empty the last result will be called.
@@ -489,11 +486,10 @@ sql_rowseek
489
486
-----------
490
487
Seeks to given row number. The row number is zero-based. Defined in the specific drivers.
491
488
489
+
.. rubric:: Parameters
492
490
493
-
Parameters
494
-
^^^^^^^^^^
495
491
.. csv-table::
496
-
:header:"Parameter", "Usage"
492
+
:header: Parameter, Usage
497
493
:delim: #
498
494
499
495
Row number # The number of the row which needs to be found (zero-based).
@@ -519,11 +515,10 @@ Example:
519
515
// We don't need to do anything with our query anymore, so lets set it free
520
516
$db->sql_freeresult($result);
521
517
518
+
.. rubric:: Parameters
522
519
523
-
Parameters
524
-
^^^^^^^^^^
525
520
.. csv-table::
526
-
:header:"Parameter", "Usage"
521
+
:header: Parameter, Usage
527
522
:delim: #
528
523
529
524
Result (Optional) # The result that is being evaluated. |br| This result comes from a call to the sql_query method. |br| If left empty the last result will be called.
Copy file name to clipboardExpand all lines: development/development/css/css_guidelines.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -323,12 +323,12 @@ Our project makes use of several tools to lint and keep code up to standards.
323
323
324
324
.. note:: This is used to help automatically re-format your code on-the-fly to meet standards during the build process via ``gulp`` as well as on save in your editor.
325
325
326
-
.. note:: Our editors of choice are `PhpStorm`_ & `ATOM`_ which provide useful plugins to make use of these tools. Check out the `Editor Setup`_ section of the docs for more information
326
+
.. note:: Our editors of choice are `PhpStorm`_ & `Visual Studio Code`_ which provide useful plugins to make use of these tools. Check out the `Editor Setup`_ section of the docs for more information
Copy file name to clipboardExpand all lines: development/development/css/css_standards.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -255,4 +255,4 @@ Preprocessor Comments
255
255
256
256
With most—if not all—preprocessors, we have the option to write comments that will not get compiled out into our resulting CSS file. As a rule, use these comments to speed up and prevent errors in the minification step.
0 commit comments