Changeset - f847b2da1a6a
[Not reviewed]
default
0 1 1
Nathan Brink (binki) - 15 years ago 2010-12-08 20:53:02
ohnobinki@ohnopublishing.net
Add a libs/ directory which people may put 3rd party libs in if they so choose.
2 files changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
inc/class.page.php
Show inline comments
 
@@ -16,24 +16,34 @@
 
 *
 
 * You should have received a copy of the GNU Affero General Public License
 
 * along with SlatePermutate.  If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/*
 
 * The @PACKAGE_*@-style defines.
 
 */
 
define('SP_PACKAGE_NAME', 'slate_permutate');
 
define('SP_PACKAGE_VERSION', '0.1_pre');
 
define('SP_PACKAGE_STRING', SP_PACKAGE_NAME . '-' . SP_PACKAGE_VERSION);
 

	
 
/*
 
 * Set up include() path for user-supplied libs (in case if his system
 
 * doesn't have libs, such as recaptchalib.php). Users would store
 
 * such libs in /libs.
 
 *
 
 * Coding note: dirname(dirname('a/b/c')) returns 'a'. This is a
 
 * similar effect to dirname('a/b/c') . DIRECTORY_SEPARATOR . '..'.
 
 */
 
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'libs');
 

	
 
/**
 
 * Not sure if there's a better place for this... it'd be a pita to
 
 * make a new include file like doconfig.inc but maybe that'll make
 
 * sense soon.
 
 */
 
/* defaults */
 
$clean_urls = FALSE;
 
$ga_trackers = array();
 
$feedback_emails = array('ez@ethanzonca.com, ngelderloos7@gmail.com, ohnobinki@ohnopublishing.net');
 

	
 
$config_inc = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.inc';
 
if (file_exists($config_inc)) {
libs/.keep
Show inline comments
 
new file 100644
0 comments (0 inline, 0 general)