Change Details
| src/Pluf.php |
| 98 | 98 | file_put_contents($cache, |
| 99 | 99 | '<?php return '.$s.';'."\n", |
| 100 | 100 | LOCK_EX); |
| 101 | chmod($cache, 0755); |
| 101 | 102 | } |
| 102 | 103 | } |
| 103 | 104 | |
| ... | ... | |
| 171 | 172 | return; |
| 172 | 173 | } |
| 173 | 174 | $file = str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; |
| 174 | | if (false !== ($file=Pluf::fileExists($file))) { |
| 175 | | include $file; |
| 176 | | } |
| 175 | include $file; |
| 177 | 176 | if (!class_exists($class, false)) { |
| 178 | 177 | throw new Exception('Impossible to load the class: '.$class); |
| 179 | 178 | } |
Download the corresponding diff file