-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontent_selector.php
More file actions
40 lines (33 loc) · 1.15 KB
/
content_selector.php
File metadata and controls
40 lines (33 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
##################################################
#
# Copyright (c) 2004-2006 OIC Group, Inc.
# Written and Designed by James Hunt
#
# This file is part of Exponent
#
# Exponent is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License as published by the Free
# Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# GPL: http://www.gnu.org/licenses/gpl.txt
#
##################################################
define('SCRIPT_EXP_RELATIVE','');
define('SCRIPT_FILENAME','content_selector.php');
/* exdoc
* Define Content Selector constant as 1, since we are not selecting orphaned content.
* @node General
*/
define('CONTENT_SELECTOR',1);
// Initialize the Exponent Framework
include_once('exponent.php');
$section = $router->getSection();
$sectionObj = $router->getSectionObj($section);
// Call the real selector script. It will use the value of CONTENT_SELECTOR to determine what it needs to do.
include_once('selector.php');
// Include the Selector script, which does all of the real work.
//include_once(dirname(__realpath(__FILE__)).'/selector.php');
?>