Skip to content
Snippets Groups Projects
Commit 4e005fd2 authored by Tim Steiner's avatar Tim Steiner
Browse files

More updating to drupal coding standards.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@207 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 1465d005
No related branches found
No related tags found
No related merge requests found
<?php
function unl_load_zend_framework()
{
static $isLoaded = FALSE;
if ($isLoaded) {
return;
}
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../../libraries' );
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('Unl_');
$isLoaded = TRUE;
function unl_load_zend_framework() {
static $isLoaded = FALSE;
if ($isLoaded) {
return;
}
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../../libraries');
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('Unl_');
$isLoaded = TRUE;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment