Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12373545
errorpage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
708 B
Referenced Files
None
Subscribers
None
errorpage.php
View Options
<?php
/**
* _, __, _, _ __, _ _, _, _
* / \ |_) (_ | | \ | /_\ |\ |
* \ / |_) , ) | |_/ | | | | \|
* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
*
* Controller for error pages
*
* @package ObsidianWorkspaces
* @subpackage Controllers
* @author Sébastien Santoro aka Dereckson <dereckson@espace-win.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD
* @filesource
*
*/
//
// Common variables
//
$smarty
->
assign
(
"URL_HOME"
,
get_url
());
//
// HTML output
//
switch
(
ERROR_PAGE
)
{
case
404
:
header
(
"HTTP/1.0 404 Not Found"
);
$smarty
->
display
(
"errors/404.tpl"
);
break
;
default
:
die
(
"Unknown error page: "
.
ERROR_PAGE
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 1, 17:50 (1 d, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3121658
Default Alt Text
errorpage.php (708 B)
Attached To
Mode
rOBSIDIAN Obsidian Workspaces
Attached
Detach File
Event Timeline
Log In to Comment