some fixes + added zf console

This commit is contained in:
Parziphal 2013-10-03 14:06:04 -05:00
parent 08b0d4e843
commit 6d4004ae33
5 changed files with 6 additions and 6802 deletions

View File

@ -5,6 +5,7 @@
"zendframework/zend-validator": "2.2.*",
"zendframework/zend-log": "2.2.*",
"zendframework/zend-mail": "2.2.*",
"zendframework/zend-console": "2.2.*",
"symfony/yaml": "2.3.*",
"leafo/scssphp": "0.0.8",
"toopay/assetic-minifier": "1.0.0"

View File

@ -487,7 +487,7 @@ abstract class Base
$this->isNewRecord = false;
$this->attributes = $data->attributes();
// $this->init();
$this->loadedAssociations = [];
return true;
}

View File

@ -104,7 +104,7 @@ trait AttributeMethods
}
if ((string)$this->getAttribute($name) != (string)$value) {
$this->setChangedAttribute($name, $value);
$this->setChangedAttribute($name, $this->$name);
}
$this->attributes[$name] = $value;
return $this;

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
</head>
<body>
<div id="notice-container"></div>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar navbar-inverse navbar-fixed-top" role="banner">
<div class="container">
<div class="navbar-header">
<?= $this->linkTo('RailsPanel', '#index', ['class' => 'navbar-brand']) ?>
@ -36,8 +36,7 @@
<?= $this->content() ?>
</div>
<hr />
<footer><p>&copy; 2013 <em>PHP on Rails</em></p></footer>
<footer><p>&copy; 2013 <em>RailsPHP Framework</em></p></footer>
</div>
</body>
</html>