Last active
August 29, 2015 14:17
-
-
Save sarciszewski/6e7f7e7c3d3e3aafe458 to your computer and use it in GitHub Desktop.
Raymond Benc (moxi9 - PHPFox) - PHP Sadness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Found in static/ajax.php | |
*/ | |
/* ... */ | |
$sUserProfileImage = Phpfox::getLib('image.helper')->display(array_merge(array('user' => Phpfox::getService('user')->getUserFields(true)), array( | |
'path' => 'core.url_user', | |
'file' => Phpfox::getUserBy('user_image'), | |
'suffix' => '_50_square', | |
'max_width' => 50, | |
'max_height' => 50 | |
) | |
) | |
); | |
/* ... */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Found in static/ajax.php | |
*/ | |
/* ... */ | |
$sUserProfileImage = Phpfox::getLib('image.helper')->display( | |
array_merge( | |
array( | |
'user' => Phpfox::getService('user')->getUserFields(true) | |
), | |
array( | |
'path' => 'core.url_user', | |
'file' => Phpfox::getUserBy('user_image'), | |
'suffix' => '_50_square', | |
'max_width' => 50, | |
'max_height' => 50 | |
) | |
) | |
); | |
/* ... */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Found in static/ajax.php | |
*/ | |
/* ... */ | |
$sUserProfileImage = Phpfox::getLib('image.helper')->display( | |
array( | |
'user' => Phpfox::getService('user')->getUserFields(true), | |
'path' => 'core.url_user', | |
'file' => Phpfox::getUserBy('user_image'), | |
'suffix' => '_50_square', | |
'max_width' => 50, | |
'max_height' => 50 | |
) | |
); | |
/* ... */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment