summaryrefslogtreecommitdiff
path: root/slideshow.php
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:54 -0500
committermodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:54 -0500
commit46f16280083e21264d6499899f447999a95a534e (patch)
tree5c091b61ae841d110622146e68ca7dc5eb4399da /slideshow.php
parent8e8fb7e46c83f9c66d88cedbbd30c67f87c7a2d4 (diff)
downloadwiki-46f16280083e21264d6499899f447999a95a534e.tar.gz
wiki-46f16280083e21264d6499899f447999a95a534e.tar.bz2
wiki-46f16280083e21264d6499899f447999a95a534e.zip
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
Diffstat (limited to 'slideshow.php')
-rwxr-xr-xslideshow.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow.php b/slideshow.php
index 137ae2f..dc426c3 100755
--- a/slideshow.php
+++ b/slideshow.php
@@ -25,7 +25,7 @@ if (!isset($_SESSION["thedate"])) {
$thedate = $_SESSION["thedate"];
}
-require_once ( WIKI_PKG_PATH.'lookup_page_inc.php' );
+require_once ( WIKI_PKG_INCLUDE_PATH.'lookup_page_inc.php' );
// If the page doesn't exist then display an error
if (!$gContent->isValid()) {
$gBitSystem->fatalError( tra("Page cannot be found"), NULL, NULL, HttpStatusCodes::HTTP_NOT_FOUND );
@@ -35,7 +35,7 @@ if (!$gContent->isValid()) {
$gContent->verifyViewPermission();
// Get page data
-include( WIKI_PKG_PATH.'lookup_page_inc.php' );
+include( WIKI_PKG_INCLUDE_PATH.'lookup_page_inc.php' );
$info = $gContent->mInfo;
// If not locked and last version is user version then can undo