Pluf Framework

Sign in or create your account | Project List | Help

Pluf Framework Commit Details

Date:2009-04-25 11:17:00 (1 year 4 months ago)
Author:Loïc d'Anterroches
Commit:a4c6ae09a0d92f7eae59acb91b2ba5d130c9d894
Message:Improved the speed of the loadClass.

Files: src/Pluf.php (2 diffs)

Change Details

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

Archive Download the corresponding diff file

Branches:
develop
master