Skip to content

Commit

Permalink
Move audio files to audio/en for better language integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dapphp committed Mar 13, 2013
1 parent 647b514 commit dda4294
Show file tree
Hide file tree
Showing 52 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions securimage.php
Expand Up @@ -457,7 +457,7 @@ class Securimage
* The path to the securimage audio directory, can be set in securimage_play.php
* @var string
* <code>
* $img->audio_path = '/home/yoursite/public_html/securimage/audio/';
* $img->audio_path = '/home/yoursite/public_html/securimage/audio/en';
* </code>
*/
public $audio_path;
Expand Down Expand Up @@ -655,7 +655,7 @@ public function __construct($options = array())
}

if (is_null($this->audio_path)) {
$this->audio_path = $this->securimage_path . '/audio/';
$this->audio_path = $this->securimage_path . '/audio/en/';
}

if (is_null($this->audio_noise_path)) {
Expand Down Expand Up @@ -2011,7 +2011,7 @@ public function getRandomNoiseFile()
*/
protected function audioError()
{
return @file_get_contents(dirname(__FILE__) . '/audio/error.wav');
return @file_get_contents(dirname(__FILE__) . '/audio/en/error.wav');
}

/**
Expand Down

0 comments on commit dda4294

Please sign in to comment.