Merge from branch 1.3

This commit is contained in:
Michael RICOIS 2013-01-14 17:05:43 +00:00
commit 472529df5f
4 changed files with 72 additions and 71 deletions

View File

@ -140,6 +140,8 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
$view->admin = true;
}
Zend_Registry::get('firebug')->info($identity);
if (Zend_Session::namespaceIsset('login')){
Zend_Session::namespaceUnset('login');
}

View File

@ -35,7 +35,7 @@ class Ciblage
*/
public function __construct($structure = null, $filterRNCS = 0)
{
if ($filterRNCS===true) {
if ($filterRNCS==1) {
$this->filterRNCS();
}

View File

@ -84,7 +84,6 @@ $(document).ready(function()
select: function( event, ui ) {
if (ui.item.value != '') {
var name = $(this).parent().find('input.criteres').attr('name');
alert(name);
var selectObject = $('ul.selectqueries#'+name);
var oldhtml = selectObject.html();
var newhtml = '<li name="' + ui.item.value + '">' + ui.item.label + '</li>';

View File

@ -66,5 +66,5 @@ $result = $commandesM->fetchAll($sql);
if (count($result)>0) {
$info = $result->current();
echo "Lancement enrichissement $info->id\n";
exec('php '.realpath(dirname(__FILE__))."/enrichissement.php --id ".$info->id." &");
exec('php '.realpath(dirname(__FILE__))."/scripts/jobs/enrichissement.php --id ".$info->id." &");
}