Pluf Framework

Pluf Framework Commit Details


Date:2009-04-25 04:17:00 (15 years 7 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:a4c6ae09a0d92f7eae59acb91b2ba5d130c9d894
Parents: 3a91a52cacbdc3fe7a7cb73814e90ce64fef40e9
Message:Improved the speed of the loadClass.

Changes:

File differences

src/Pluf.php
9898
9999
100100
101
101102
102103
103104
......
171172
172173
173174
174
175
176
175
177176
178177
179178
file_put_contents($cache,
'<?php return '.$s.';'."\n",
LOCK_EX);
chmod($cache, 0755);
}
}
return;
}
$file = str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
if (false !== ($file=Pluf::fileExists($file))) {
include $file;
}
include $file;
if (!class_exists($class, false)) {
throw new Exception('Impossible to load the class: '.$class);
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.06036s using 13 queries.