forked from GithubBackups/tinyib
Fix warning when calling ob_end_flush
This commit is contained in:
parent
df2342fc49
commit
e7c69c9a95
@ -36,7 +36,7 @@ Installing
|
|||||||
- `git clone git://github.com/tslocum/TinyIB.git ./`
|
- `git clone git://github.com/tslocum/TinyIB.git ./`
|
||||||
4. Copy **settings.default.php** to **settings.php**
|
4. Copy **settings.default.php** to **settings.php**
|
||||||
5. Configure **settings.php**
|
5. Configure **settings.php**
|
||||||
- To remove the play icon from .SWF/.WebM thumbnails, delete or rename **video_overlay.png**.
|
- To remove the play icon from .SWF/.WebM thumbnails, delete or rename **video_overlay.png**
|
||||||
- To allow WebA/WebM upload:
|
- To allow WebA/WebM upload:
|
||||||
- Ensure your web host is running Linux.
|
- Ensure your web host is running Linux.
|
||||||
- Install [mediainfo](http://mediaarea.net/en/MediaInfo) and [ffmpegthumbnailer](https://code.google.com/p/ffmpegthumbnailer/). On Ubuntu, run ``sudo apt-get install mediainfo ffmpegthumbnailer``.
|
- Install [mediainfo](http://mediaarea.net/en/MediaInfo) and [ffmpegthumbnailer](https://code.google.com/p/ffmpegthumbnailer/). On Ubuntu, run ``sudo apt-get install mediainfo ffmpegthumbnailer``.
|
||||||
@ -52,11 +52,11 @@ Installing
|
|||||||
- ./src/
|
- ./src/
|
||||||
- ./thumb/
|
- ./thumb/
|
||||||
- ./res/
|
- ./res/
|
||||||
- ./inc/flatfile/ (only if you use flat file for the database)
|
- ./inc/flatfile/ (only if you use the ``flatfile`` database mode)
|
||||||
7. Navigate your browser to **imgboard.php** and the following will take place:
|
7. Navigate your browser to **imgboard.php** and the following will take place:
|
||||||
- The database structure will be created.
|
- The database structure will be created.
|
||||||
- Directories will be verified to be writable.
|
- Directories will be verified to be writable.
|
||||||
- The file index.html will be created containing the new image board.
|
- The file **index.html** will be created containing the new image board.
|
||||||
|
|
||||||
Moderating
|
Moderating
|
||||||
------------
|
------------
|
||||||
|
@ -7,7 +7,11 @@ error_reporting(E_ALL);
|
|||||||
ini_set("display_errors", 1);
|
ini_set("display_errors", 1);
|
||||||
session_start();
|
session_start();
|
||||||
ob_implicit_flush();
|
ob_implicit_flush();
|
||||||
|
if (function_exists('ob_get_level')) {
|
||||||
|
while (ob_get_level() > 0) {
|
||||||
ob_end_flush();
|
ob_end_flush();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (get_magic_quotes_gpc()) {
|
if (get_magic_quotes_gpc()) {
|
||||||
foreach ($_GET as $key => $val) {
|
foreach ($_GET as $key => $val) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user