Skip to content

Commit

Permalink
CI: LS Standard Library: Move src, update autoloader.
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11238 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tim Klingenberg committed Oct 23, 2011
1 parent 69f2b47 commit 90e8701
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/LS/LS.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function LS_autoload($class)
return;

$translated = str_replace($separator, DIRECTORY_SEPARATOR, $class);
$libpath = dirname(dirname(__FILE__));
$libpath = dirname(__FILE__).DIRECTORY_SEPARATOR.'src';
$file = $libpath.DIRECTORY_SEPARATOR.$translated.'.php';

require $file; # provoke fatal error if file does not exists.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 90e8701

Please sign in to comment.