diff options
| author | Christian Fowler <spider@viovio.com> | 2007-02-17 18:46:32 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-02-17 18:46:32 +0000 |
| commit | 450de7861c5a4a375975a912800faf72d56964ea (patch) | |
| tree | 51486fd8f54d29ea3ffcde4e9a5540b27348731c /LibertySystem.php | |
| parent | 6b9f2188eaf5b939d816797d06262e4e2bcbc92c (diff) | |
| download | liberty-450de7861c5a4a375975a912800faf72d56964ea.tar.gz liberty-450de7861c5a4a375975a912800faf72d56964ea.tar.bz2 liberty-450de7861c5a4a375975a912800faf72d56964ea.zip | |
do not store absolute filenames because that will screw multiple source to same DB (sanbox, staging, etc.) moving site to a new location, or appserver sites with different paths
Diffstat (limited to 'LibertySystem.php')
| -rwxr-xr-x | LibertySystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertySystem.php b/LibertySystem.php index 6deebd3..14fb8e6 100755 --- a/LibertySystem.php +++ b/LibertySystem.php @@ -3,7 +3,7 @@ * System class for handling the liberty package * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.59 2007/02/17 18:25:51 bitweaver Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.60 2007/02/17 18:46:32 spiderr Exp $ * @author spider <spider@steelsun.com> */ @@ -138,7 +138,7 @@ class LibertySystem extends LibertyBase { if( $pluginDir = opendir( $pPluginsPath ) ) { while( FALSE !== ( $plugin = readdir( $pluginDir ) ) ) { if( preg_match( '/\.php$/', $plugin ) ) { - $this->mPluginFileName = $plugin; + $this->mPluginFileName = basename( $plugin ); include_once( $pPluginsPath.$plugin ); } } |
