This commit is contained in:
flash 2015-03-25 10:59:10 +01:00
parent 96b5d71abc
commit bcf0e02d6b
9 changed files with 14 additions and 17 deletions

View file

@ -3,7 +3,7 @@
* Configuration Management * Configuration Management
*/ */
namespace Flashii; namespace Sakura;
class Configuration { class Configuration {

View file

@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
namespace Flashii; namespace Sakura;
class Hashing { class Hashing {

View file

@ -3,7 +3,7 @@
* Main Class * Main Class
*/ */
namespace Flashii; namespace Sakura;
class Main { class Main {

View file

@ -3,7 +3,7 @@
* Session Handler * Session Handler
*/ */
namespace Flashii; namespace Sakura;
class Session { class Session {

View file

@ -3,7 +3,7 @@
* MySQL PDO based database engine * MySQL PDO based database engine
*/ */
namespace Flashii; namespace Sakura;
use PDO; use PDO;
use PDOException; use PDOException;

View file

@ -4,14 +4,11 @@
* (c)Flashwave/Flashii Media 2013-2015 <http://flash.moe> * (c)Flashwave/Flashii Media 2013-2015 <http://flash.moe>
*/ */
// Declare Namespace
namespace Flashii;
// Start output buffering // Start output buffering
ob_start(); ob_start();
// Define Sakura version // Define Sakura version
define('SAKURA_VERSION', '20150321'); define('SAKURA_VERSION', '20150325');
// Define Sakura Path // Define Sakura Path
define('ROOT_DIRECTORY', str_replace('_sakura', '', dirname(__FILE__))); define('ROOT_DIRECTORY', str_replace('_sakura', '', dirname(__FILE__)));
@ -40,15 +37,15 @@ else
// Set Error handler // Set Error handler
set_error_handler(array('Flashii\Main', 'ErrorHandler')); set_error_handler(array('Sakura\Main', 'ErrorHandler'));
// Initialise Flashii Class // Initialise Flashii Class
Main::init($fiiConf); Sakura\Main::init($fiiConf);
// Set base page rendering data // Set base page rendering data
$renderData = array( $renderData = array(
'sakura' => [ 'sakura' => [
'sakura_version' => SAKURA_VERSION, 'version' => SAKURA_VERSION,
'urls' => $fiiConf['urls'] 'urls' => $fiiConf['urls']
] ]
); );

View file

@ -2,7 +2,7 @@
</div> </div>
<div class="footer"> <div class="footer">
<div class="ftsections"> <div class="ftsections">
<div class="copycentre">Copyright &copy; 2013-2015 <a href="http://flash.moe/" target="_blank">Flashwave</a> | Sakura Version {{ sakura_version }} | This is a development site, the actual site is located at <a href="http://flashii.net/">Flashii.net</a>.</div> <div class="copycentre">Copyright &copy; 2013-2015 <a href="http://flash.moe/" target="_blank">Flashwave</a> | Sakura Version {{ sakura.version }} | This is a development site, the actual site is located at <a href="http://flashii.net/">Flashii.net</a>.</div>
<ul class="ftsection"> <ul class="ftsection">
<li class="fthead">General</li> <li class="fthead">General</li>
<li><a href="http://{{ sakura.urls.main }}/" title="Flashii Frontpage">Home</a></li> <li><a href="http://{{ sakura.urls.main }}/" title="Flashii Frontpage">Home</a></li>
@ -38,4 +38,4 @@
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -4,7 +4,7 @@
*/ */
// Declare Namespace // Declare Namespace
namespace Flashii; namespace Sakura;
// Include components // Include components
require_once('/var/www/flashii.net/_sakura/sakura.php'); require_once('/var/www/flashii.net/_sakura/sakura.php');

View file

@ -4,7 +4,7 @@
*/ */
// Declare Namespace // Declare Namespace
namespace Flashii; namespace Sakura;
// Include components // Include components
require_once('/var/www/flashii.net/_sakura/sakura.php'); require_once('/var/www/flashii.net/_sakura/sakura.php');