JAR was always loading

This commit is contained in:
Josh Sherman 2012-10-01 22:45:22 -04:00
parent 499d30b64f
commit d20b3a83ff

View file

@ -91,7 +91,7 @@ if (is_writable(PICKLES_PATH) && $pickling)
file_put_contents(dirname(__FILE__) . '/jar.php', str_replace("\n?" . ">\n<" . "?php\n", '', readFileContents(PICKLES_CLASS_PATH)));
}
if (file_exists($jar_file))
if (file_exists($jar_file) && !$pickling)
{
require $jar_file;
}