Created
January 27, 2014 09:03
-
-
Save argnist/8645311 to your computer and use it in GitHub Desktop.
Самый простой способ загрузки файлов
This file contains 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
$source = modMediaSource::getDefaultSource($modx); | |
$source->initialize(); | |
$success = $source->uploadObjectsToContainer($path,$_FILES); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment