MantisBT - v1.2 Release (Closed)
View Issue Details
0000286v1.2 Release (Closed)[All Projects] Generalpublic2009-10-09 05:112009-12-08 19:08
Reportercastortech 
Assigned Tocaseydk 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.2 
Summary0000286: New autoload doesn't support loading Mail
DescriptionMail isn't loaded in project now that the autoload is in place.

The issue is that the resolution algorithm in autoload doesn't account for the fact that the name to resolve starts with lib.

so I added the following and it now works:
  if (file_exists(W2P_BASE_DIR.'/classes/lib'.$name.'.class.php')) {
      require_once W2P_BASE_DIR.'/classes/lib'.$name.'.class.php';
    return;
  }
TagsNo tags attached.
Attached Files

Notes
(0000552)
caseydk   
2009-10-12 19:09   
Resolved in r705;
Also refactored the autoloader a bit to handle the classes cleaner... but not great.

Issue History
2009-10-09 05:11castortechNew Issue
2009-10-11 15:39caseydkStatusnew => assigned
2009-10-11 15:39caseydkAssigned To => caseydk
2009-10-11 15:40caseydkProjectv1.1 Release (Closed) => v1.2 Release (Closed)
2009-10-12 19:09caseydkStatusassigned => resolved
2009-10-12 19:09caseydkResolutionopen => fixed
2009-10-12 19:09caseydkNote Added: 0000552
2009-12-08 19:08caseydkStatusresolved => closed
2009-12-08 19:08caseydkFixed in Version => 1.2