Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
absolute namespace, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs committed Dec 11, 2011
1 parent 0928abd commit ef8613d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/php-activerecord/ActiveRecord.php
Expand Up @@ -29,7 +29,7 @@

function activerecord_autoload($class_name)
{
$path = ActiveRecord\Config::instance()->get_model_directory();
$path = \ActiveRecord\Config::instance()->get_model_directory();
$root = realpath(isset($path) ? $path : '.');

if (($namespaces = ActiveRecord\get_namespaces($class_name)))
Expand Down

0 comments on commit ef8613d

Please sign in to comment.